No such thing as a small change | |
PerlMonks |
Re: Dereference the return result from a functionby stevieb (Canon) |
on Feb 21, 2017 at 03:46 UTC ( [id://1182396]=note: print w/replies, xml ) | Need Help?? |
As tybalt89 stated, your request doesn't quite match your examples, and he's shown how to return a reference. Here's a way to dereference an array reference returned from a sub, using the circumfix operator:
In Section
Seekers of Perl Wisdom
|
|