Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

IF and GREP Question

by Anonymous Monk
on Sep 18, 2013 at 02:20 UTC ( [id://1054572]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    if (grep {/$backup_job/} <NB_FILE>) {
    ...
        print "$backup_job does not have a backup job !!\n";
    }
    
  2. or download this
    
    ./test.pl test.txt
    ...
    cgndsdr4
    backup job found for cgndsdr4
    
  3. or download this
    
    ./test.pl test.txt
    ...
    cgndsdr4
    NB_toi_tko_cgndsdr4_fl
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-23 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found