Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.


Comment on (chromatic) Re: map and modifying $_
Select or Download Code

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 romping around the Monastery: (9)
As of 2014-11-27 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls