Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

(chromatic) Re: map and modifying $_

by chromatic (Archbishop)
on Jul 14, 2000 at 22:56 UTC ( #22614=note: print w/ replies, xml ) Need Help??


in reply to map and modifying $_

@goo is a named array. However, if you use a list of some sort: map { s/\d/\\d/ } (1, 2, 3, 4);
you'll get happy error messages like Modification of a read-only value attempted at - line 1.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2016-06-26 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (328 votes). Check out past polls.