Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by mkmcconn (Chaplain)
on Mar 10, 2001 at 16:26 UTC ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2023-03-24 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?