Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: Substitution with regex and memory consumption

by dave_the_m (Monsignor)
on Mar 08, 2020 at 11:51 UTC ( #11113970=note: print w/replies, xml ) Need Help??


in reply to Re^4: Substitution with regex and memory consumption
in thread Substitution with regex and memory consumption

As always the devil is in the detail. Consider for example:
{ $s = ".....X....."; $s =~ s/X/Y/; $x = eval q{ "[ $`$& $' ]" }; }
You can't rely on PL_sawampersand.

Dave.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-10-21 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (217 votes). Check out past polls.

    Notices?