in reply to Re^2: most appropriate return data type
in thread most appropriate return data type
The caller forces context on the return. The return value is the result of the evaluation (in the context of the caller) of the last expression in a subroutine (or the expression given to return).
So..
See perlop. Ah, and 'fox' gets assigned to '$y' </nitpick> ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: most appropriate return data type
by merlyn (Sage) on Feb 19, 2010 at 16:43 UTC | |
by TGI (Parson) on Feb 24, 2010 at 20:38 UTC |