Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Grepping the filehandler

by jwkrahn (Abbot)
on Jul 23, 2020 at 18:45 UTC ( [id://11119717]=note: print w/replies, xml ) Need Help??


in reply to Grepping the filehandler

print $1 if <$a> =~ m/(error.*)/; # Nothing printed though the files h +as the line containing error key word.
print map /(error.*\n)/, <$a>;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2024-04-18 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found