Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: map question

by dewey (Pilgrim)
on Jul 28, 2007 at 23:40 UTC ( [id://629346]=note: print w/replies, xml ) Need Help??


in reply to map question

What about it doesn't work? This looks like a code fragment, and it would be easier to answer if I knew more about your problem and your code.

I haven't investigated closely, but using s/// inside map may be tripping you up: modifying $_ during map modifies the array you're mapping over. Running that same map code twice doesn't make much sense to me.

~dewey

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-18 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found