Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: using perl to format tail -f

by perlfan (Curate)
on Apr 14, 2008 at 16:41 UTC ( #680334=note: print w/ replies, xml ) Need Help??


in reply to Re: using perl to format tail -f
in thread using perl to format tail -f

Or to a script:
#!/usr/bin/env perl use warnings; use strict; while(<>) { #... do something with the latest line, $_ }
Usage:
tail -f /var/log/apache2/access.log | myscript.pl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2016-07-25 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (226 votes). Check out past polls.