|
nph-irc.cgi and interfaces/mozilla.pm warns in the error log. The former warns quite a lot. I have made the following changes to make it warn less. But it still warns and I don't really understand perl good enough to know what to do about it:Hope this is of any help.diff -P ~/cgiirc-0.5.7/nph-irc.cgi nph-irc.cgi 333c333 < my $bg = length $3 ? sprintf("%0.2d",$3) : ''; --- > my $bg = defined $3 ? sprintf("%0.2d",$3) : ''; 924c924,926 < say_command($_, 'Status') for split(/;/, $config->{perform}); --- > if (defined($config->{'perform'})) { > say_command($_, 'Status') for split(/;/, $config->{perform}); > }/PEZ
|
Type: code Version: 0.5.7 Status: new Created: 2006-Mar-14 21:40 Severity: 4 Last Change: 2006-Mar-14 21:40 Priority: 3 Subsystem: core Assigned To: dgl Derived From: Creator: anonymous Operating system: Fedora Core 2
| 2006-Apr-30 12:51 | • | Check-in [265] : Fixes for tickets: #27 , #60 , #68 , #69 , #70 , #71 , #92 , #131 , #144 (By dgl) |