Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: return data from a subroutine reference...by perlfan (Vicar) |
on Aug 12, 2006 at 13:14 UTC ( [id://567026]=note: print w/replies, xml ) | Need Help?? |
You can treat an anonymous sub as any other - everything on the right hand side of the assignment operator (=) is just some jibberish to call the subroutine. Any return values you get are still passed back the same way.
In Section
Seekers of Perl Wisdom
|
|