Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Using a regex saved in an environment variable

by bobf (Monsignor)
on May 03, 2012 at 02:13 UTC ( #968608=note: print w/ replies, xml ) Need Help??


in reply to Using a regex saved in an environment variable

I suspect $_ is not what you think it is in the print. Try to get it to work using explicit variables first (one for the file content, one for the regex, and one for the match), then you can watch what happens as you remove them.

I don't mean to be cryptic, but I think you're on the right track here...


Comment on Re: Using a regex saved in an environment variable

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2014-07-24 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls