Perl: the Markov chain saw | |
PerlMonks |
Re: Disconnect from Remote Serverby tirwhan (Abbot) |
on Sep 28, 2010 at 19:18 UTC ( [id://862487]=note: print w/replies, xml ) | Need Help?? |
Your system command ("tail -f") never returns, because it keeps the file open and tries to follow it forever. So "after executing the code" never happens, the code keeps running until it is killed. Try just using tail (possibly with "-n" to adjust the number of lines you get). All dogma is stupid.
In Section
Seekers of Perl Wisdom
|
|