Do you know where your variables are? | |
PerlMonks |
HOP Iterator Ex4.3-- Illegal declarationby ady (Deacon) |
on Mar 03, 2006 at 15:39 UTC ( [id://534251]=perlquestion: print w/replies, xml ) | Need Help?? |
ady has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks, -- I'm playing with a directory parsing based on example 4.3 from HOP v.1: where When running program Iterate.pl i get the error: C:\tmp>Iterate Illegal declaration of anonymous subroutine at C:\tmp\Iterate.pl line 26. Any ideas why the Iterator {...} construct is illegal in this context ?? Best regards, Allan Dystrup
Back to
Seekers of Perl Wisdom
|
|