Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Syntactic Confectionery Delight
 
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 having an uproarious good time at the Monastery: (8)
As of 2014-04-21 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (492 votes), past polls