Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 exploiting the Monastery: (7)
As of 2016-07-01 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (14 votes). Check out past polls.