Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Dereference the return result from a function

by tybalt89 (Monsignor)
on Feb 21, 2017 at 03:22 UTC ( [id://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 (Sexton) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1182392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found