Skip Menu |

This queue is for tickets about the WWW-Yahoo-Groups CPAN distribution.

Report information
The Basics
Id: 4517
Status: resolved
Worked: 1 min
Priority: 0/
Queue: WWW-Yahoo-Groups

People
Owner: spoon [...] cpan.org
Requestors: metaperl [...] urth.org
Cc:
AdminCc:

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



Subject: sample script has undeclared package variable
~/hacks/yg $ perl yahoo2maildir Global symbol "$num" requires explicit package name at yahoo2maildir line 49. Execution of yahoo2maildir aborted due to compilation errors. ~/hacks/yg $ if ( $@ and $@->isa('X::WWW::Yahoo::Groups') ) { # If it's one of our errors just continue warn "Could not handle message $num: ", $@->error, "\n"; } elsif ($@) { # Otherwise, abort. ---------------- I think $num should be number
[TBONE - Fri Nov 28 10:15:03 2003]: Show quoted text
> ~/hacks/yg $ perl yahoo2maildir > Global symbol "$num" requires explicit package name at yahoo2maildir > line 49. > Execution of yahoo2maildir aborted due to compilation errors. > ~/hacks/yg $
Show quoted text
> I think $num should be number
Right! Fixed. Much obliged for that. I really should work out some sane way to include the example program in the test suite. cheers, -- Iain.