Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Perl oddities (s/// doesn't DWIM in map)

by Roy Johnson (Monsignor)
on Mar 01, 2005 at 18:50 UTC ( #435568=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl oddities (s/// doesn't DWIM in map)
in thread Perl oddities

Would that be equivalent to

(my $modified = $_) =~ s/$pattern/$change_to/g;
or
s/$pattern/$change_to/g; my $modified = $_;
?

Caution: Contents may have been coded under pressure.


Comment on Re^4: Perl oddities (s/// doesn't DWIM in map)
Select or Download Code
Re^5: Perl oddities (s/// doesn't DWIM in map)
by Joost (Canon) on Mar 01, 2005 at 20:35 UTC

Log In?
Username:
Password:

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

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

    The best computer themed movie is:











    Results (143 votes), past polls