Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: map return to array reference

by davorg (Chancellor)
on Jan 24, 2007 at 17:06 UTC ( #596291=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $files_to_send = map {"$stage/$_.pdf"} $self->_getGood();
    
  2. or download this
    my $files_to_send = [ map {"$stage/$_.pdf"} $self->_getGood() ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://596291]
help
Chatterbox?
and the monks are chillaxin'...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-03-24 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (305 votes). Check out past polls.