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.