![]() |
|
XP is just a number | |
PerlMonks |
Re^3: Printing to a File from Subby choroba (Cardinal) |
on Aug 30, 2010 at 16:47 UTC ( #858046=note: print w/replies, xml ) | Need Help?? |
You should either use or . The code you posted is parsed as which is definitely not what you want. To avoid the error you reported, though, use or Also note that the ampersand sign & is not needed when calling a sub (see perlsub).
In Section
Seekers of Perl Wisdom
|
|