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 meditating upon the Monastery: (15)
As of 2014-10-23 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls