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

Re: "map" sometimes uses only the last mapped value

by turo (Friar)
on Apr 18, 2006 at 13:57 UTC ( #544061=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/perl -l
    
    ...
    print map {f1($_)} qw(x y z);
    print map {f2($_)} qw(x y z); 
    print map {f3($_)} qw(x y z);
    
  2. or download this
    #! /usr/perl -l
    
    ...
    print map {f1($_)} qw(x y z);
    print map {f2($_)} qw(x y z);
    print map {f3($_)} qw(x y z);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2022-06-29 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (96 votes). Check out past polls.

    Notices?