Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 studying the Monastery: (5)
As of 2014-09-20 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls