Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: grep lines from log for last 10 mints

by Anonymous Monk
on Aug 06, 2012 at 10:30 UTC ( #985651=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
    ...
    }
    Please check my work on the 2 lines I've marked with "#???".
    The operation I've selected may be wrong for the operand types.
    
  2. or download this
    #!/usr/bin/perl --
    use strict; use warnings; use Data::Dump;
    ...
    
        print $_ if $start lt $tm and $tm lt $end;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2015-07-31 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls