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 taking refuge in the Monastery: (11)
As of 2015-07-02 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls