No such thing as a small change | |
PerlMonks |
Re: Running an application and capturing outputby mifflin (Curate) |
on Jun 02, 2005 at 02:21 UTC ( [id://462725]=note: print w/replies, xml ) | Need Help?? |
Like thunderkgnat says, you're probably missing the $ infront of log->info; deparsing that code shows that you are executing log, a builtin function of perl. Since $_ is not set it tries to do a log of 0 which is not defined. Try putting use strict; and use warnings; at the top of your script to help track down bugs like these.
In Section
Seekers of Perl Wisdom
|
|