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

map return to array reference

by silent11 (Vicar)
on Jan 24, 2007 at 16:53 UTC ( #596282=perlquestion: 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()};
    print map {"$_\n"} @{$files_to_send};
    
  2. or download this
    
    Can't use string ("6") as an ARRAY ref while "strict refs" in use at M
    +oduleName.pm line 136.
    
  3. or download this
    
    sub _getGood {
    ...
        return @{$self->{_good}};    
    }
    
  4. or download this
    
    $VAR1 = [
    ...
              'C21617783'
            ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://596282]
Approved by wazoox
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-07-26 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls