Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Match 2 strings in same line

by kennethk (Abbot)
on Nov 25, 2013 at 17:29 UTC ( [id://1064260]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    chomp(my $logsIncDate = `date +"%b %d %H"`);
    
  2. or download this
    while (my $line = <SwitchLogs>) {
        if($line =~ m/$logsIncDate/ && $line =~ m/SW_MATM-4-MACFLAP_NOTIF/
    +){
    ...
            $sendemail = 1;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-18 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found