P is for Practical | |
PerlMonks |
Re: hash slice ? No thanks, I'm about to return...by Ovid (Cardinal) |
on Feb 19, 2005 at 16:06 UTC ( [id://432738]=note: print w/replies, xml ) | Need Help?? |
From perldoc perlsub: The return value of a subroutine is the value of the last expression evaluated by that sub... The value of an assignment operation in list context is generally the value(s) being assigned. Thus, when you're assigning a list to something, that's the value of the assignment and therefore that's the return value of the subroutine. Cheers, New address of my CGI Course.
In Section
Meditations
|
|