Subject: | True value returned always on print to a socket |
Hi,
I am using IO-1.25 and Net::Stomp 0.34 (which actually uses
IO::Socket::INET) to send messages to a message queue.
I have hit a problem, in which that in Net::Stomp::send_frame, the
message is 'print'ed to the socket, but that the return value is always
true, even if the message_queue has gone away between making the socket
connection and going to send the message.
Is it possible that this could be fixed to throw an error (or at least
return false) if the message can't be printed to the socket filehandle.
I don't know if this is really an error with the print function in perl,
but this is causing an issue with trying to operate a robust system,
which would alert if it is unable to send the message to queue.
Thanks for reading, and any help/fix that could be done.
Cheers
Andy