Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Dereference the return result from a function

by tybalt89 (Parson)
on Feb 21, 2017 at 03:22 UTC ( #1182392=note: print w/replies, xml ) Need Help??


in reply to Take reference of the return result from a function

return [ map { ... } @somearray ];

Replies are listed 'Best First'.
Re^2: Dereference the return result from a function
by daveola (Acolyte) on Feb 21, 2017 at 08:35 UTC
    That would be what I was looking for - I'm surprised I didn't think to just construct the array reference like that, that's pretty much exactly what I wanted.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2020-05-28 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (165 votes). Check out past polls.

    Notices?