Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: using map and swap (aka substitute)

by BrowserUk (Pope)
on Jan 14, 2013 at 20:24 UTC ( #1013271=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/_string$// for @list;
    
  2. or download this
    my @list = ...;
    my @newList = @list;
    s/_string$// for @newList;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2015-08-31 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (365 votes), past polls