Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: (tye)Re: playing with map

by mkmcconn (Chaplain)
on Mar 10, 2001 at 16:26 UTC ( [id://63464]=note: print w/replies, xml ) Need Help??


in reply to Re: (tye)Re: playing with map
in thread playing with map

I'm not qualified to say that it's wrong. I will say that it doesn't seem like the right tool. Just for an example, consider the hazard of accidentally doing something like:
my @b = grep { s/apples/oranges/ } @a;
If what you meant was to have a @b basket of oranges, and an  @a basket of apples, you'll be quite unhappy to find that grep has eaten all of your apples.

mkmcconn

Replies are listed 'Best First'.
Re: Re: Re: (tye)Re: playing with map
by merlyn (Sage) on Mar 10, 2001 at 16:29 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-26 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found