Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

nimdokk's scratchpad

by nimdokk (Vicar)
on Jun 01, 2004 at 17:22 UTC ( #358280=scratchpad: print w/ replies, xml ) Need Help??

#!/usr/bin/perl -w use strict; use warnings; # Basic wrapper for monitoring a file with 'tail -f'. open TAIL, "tail -f $ARGV[0] |" or die "Failed to pipe to 'tail -f $AR +GV[0]'. $!"; while (<TAIL>) { if (/\Q$ARGV[1]\E/) { print; } }
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (16)
As of 2014-08-28 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (263 votes), past polls