Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Can this be a 1 line or simpler regex? (s///e does not eval)

by Aristotle (Chancellor)
on Apr 06, 2003 at 11:49 UTC ( [id://248420]=note: print w/replies, xml ) Need Help??


in reply to Re: Re^2: Can this be a 1 line or simpler regex?
in thread Can this be a 1 line or simpler regex?

you're imposing eval {} at each match point
Sorry, no. You're confusing /e with /ee. There's no evaling with /e.

Makeshifts last the longest.

  • Comment on Re^4: Can this be a 1 line or simpler regex? (s///e does not eval)

Replies are listed 'Best First'.
Re^5: Can this be a 1 line or simpler regex?
by diotalevi (Canon) on Apr 06, 2003 at 17:43 UTC

    Huh. I wouldn't have guessed. The first /e isn't an eval, any other /e's are eval string blocks with all of the $@ overwriting semantics.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-18 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found