There's more than one way to do things | |
PerlMonks |
Re: packages within the same file.by smalhotra (Scribe) |
on Aug 01, 2003 at 18:29 UTC ( [id://280086]=note: print w/replies, xml ) | Need Help?? |
You are missing a semicolon ( ; ) at the end of your print statements, that's your sytax error. The other is just a kind, and gentle warning. Try to use diagnostics;, it gives to more information about what might have gone wrong.
$will->code for @food or $$;
In Section
Seekers of Perl Wisdom
|
|