laziness, impatience, and hubris | |
PerlMonks |
Re: Sys::Syslog no outputby McDarren (Abbot) |
on Jan 23, 2006 at 17:55 UTC ( [id://524992]=note: print w/replies, xml ) | Need Help?? |
The line:
is evaluating @return in scalar context. And because your $cmd returns just a single line, you are effectively saying: of course, 1 will never be greater than 1, so you get no output :p Change it to:
Cheers,
In Section
Seekers of Perl Wisdom
|
|