Perl: the Markov chain saw | |
PerlMonks |
Re: Fork / use Warnings Confusionby choroba (Cardinal) |
on May 13, 2010 at 22:33 UTC ( [id://839916]=note: print w/replies, xml ) | Need Help?? |
Your shell cannot run the lst command. Therefore, you get the error Can't exec.... The $output variable is empty, that's why you get the warning and no output. The documentation of fork says you cannot share a variable between the parent and child process.
In Section
Seekers of Perl Wisdom
|
|