go ahead... be a heretic | |
PerlMonks |
Re: 5.10.0 seems to break packageby Joost (Canon) |
on Jul 10, 2009 at 20:00 UTC ( [id://779032]=note: print w/replies, xml ) | Need Help?? |
foo {} is a CALL to a function named foo, passing a hashref - not a function declaration. You need a semi-colon after a function call. update: well, most of the time - not at the end of a file or block, for example, but you do need one before starting a new package.
You probably meant something like: Note the subs.
In Section
Seekers of Perl Wisdom
|
|