Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: How to read the regular expression from another file?

by MidLifeXis (Monsignor)
on May 07, 2015 at 12:25 UTC ( [id://1126000]=note: print w/replies, xml ) Need Help??


in reply to Re: How to read the regular expression from another file?
in thread How to read the regular expression from another file?

In the spirit of TIMTOWDI, lines 6-8 could also be replaced by:

print grep { /$pattern/ } <F2>;

--MidLifeXis

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-18 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found