Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: map return to array reference

by ikegami (Pope)
on Jan 24, 2007 at 17:05 UTC ( #596287=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    sub _getGood {
        my ($self,@args) = @_;
    my @files_to_send = map {"$stage/$_.pdf"} $self->_getGood();
    print map {"$_\n"} @files_to_send;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://596287]
erix clocks 12 years
[TStanley]: talexb I was actually in your area last week. I was working in Milton, Ontario at the hospital they are building there.
Eily hasn't entered monk school
[Eily]: there are some special array variables that are not interpolated in double strings, like @*, @/, @(, and @)
[Eily]: is this documented somwhere?
[Eily]: "@{/}" does interpolate @/ though

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-06-23 13:57 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (547 votes). Check out past polls.