Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: "ee" in Regular Expression: version issue?

by Anonymous Monk
on Dec 03, 2012 at 19:32 UTC ( #1006933=note: print w/ replies, xml ) Need Help??


in reply to "ee" in Regular Expression: version issue?

ee is eval, and eval, is eval

$ perl -e " $_=q/warn(66)/; s/(.*)/$1/ee; " 66 at (eval 1) line 1.

I would use String::Interpolate or String::Interpolate::RE or another similar abstraction instead


Comment on Re: "ee" in Regular Expression: version issue?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-21 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (101 votes), past polls