Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: /ee regex modifier

by chipmunk (Parson)
on Nov 14, 2001 at 08:38 UTC ( [id://125244]=note: print w/replies, xml ) Need Help??


in reply to /ee regex modifier

If /e interpolated variables in the replacement, then a substitution like the following would not work: s/(\d+)/$x = $1/e; /e treats the replacement string like eval BLOCK. It's compiled at script compile-time, and variables are not interpolated.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-26 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found