Subject: | suppress warnings in _send_cmd |
Hi,
I've discovered a lot warnings originating from processing variables with undefined value if the -w switch is enabled. The included patch for Simple.pm solves that for the _send_cmd sub routine.
Distribution: Net-IMAP-Simple-0.95
Perl Version: v5.8.4
System : Linux machine 2.6.9 #1 SMP Tue Oct 26 15:32:40 CEST 2004 i686 GNU/Linux
I like this perl module, it's very useful. Great work.
Cheers,
Heiko
490,493d489
<
< $name = "" if (! defined($name));
< $value = "" if (! defined($value));
<
512c508
< if ( defined($ok) && ($ok == 1) ) {
---
> if ( $ok == 1 ) {