Skip Menu |

This queue is for tickets about the File-Set CPAN distribution.

Report information
The Basics
Id: 29924
Status: resolved
Priority: 0/
Queue: File-Set

People
Owner: cpan [...] robm.fastmail.fm
Requestors: sscaffidi [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.01
Fixed in: (no value)



Subject: list() won't recognize callback subroutine
Running this code: $FS->list( sub { print $_ . "\n"; } ); Gives me this error: No callback passed at /usr/lib/perl5/site_perl/5.8/File/Set.pm line 318. I am running Perl 5.8.8 on Cygwin 32-bit on Windows XP. I've tried several different ways of passing in the call-back and all yielded the same results.
The example in the synopsis section is incorrect/out of date. Look at the actual docs for the list() method, it actually takes 3 parameters.
I've just uploaded 1.02 which makes the synopsis documentation consistent with the method documentation