Skip Menu |

This queue is for tickets about the Net-NetSend CPAN distribution.

Report information
The Basics
Id: 8110
Status: resolved
Priority: 0/
Queue: Net-NetSend

People
Owner: greb [...] cpan.org
Requestors: brae.charles [...] mail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.10
Fixed in: (no value)



Subject: Errors reported via $@ accumulate between calls
When sendMsg fails, it reports its error via the $@ variable. While internally this variable is reset every call to sendMsg, the global $error_texts that assigns to it isn't, so $@ ends up containing ALL error messages for all past failed calls. To fix, simply reset $error_texts as well: < sub sendMsg{ < $@=''; --- Show quoted text
> sub sendMsg{ > $@=$error_texts='';
Hello Charles, thank you for your bug report. The reported bug is fixed by now in the new Net::NetSend 0.11. Regards, Florian Freb