Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: using map and swap (aka substitute)

by jwkrahn (Monsignor)
on Jan 14, 2013 at 22:45 UTC ( #1013290=note: print w/ replies, xml ) Need Help??


in reply to Re: using map and swap (aka substitute)
in thread using map and swap (aka substitute)

my @newList = @list; s/_string$// for @newList

Or just:

s/_string$// for my @newList = @list;


Comment on Re^2: using map and swap (aka substitute)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-10-01 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls