On Mon, Feb 05, 2001 at 11:46:48AM -0500, James Mastros wrote:
>
> In most languages, you do this with
> {
> $ret = 42;
> close FILE;
> unlock $stuff;
> #yadda
> return $ret;
> }
>
> By the time you get to the last line, you've already forgoten WTF you named
> the return variable.
Eh, I don't think that bad memory, or a bad variable naming scheme
justifies this new feature.
If you forget how you name your variables you have much bigger problems
than to have to type 'return'.
Abigail
- assign to magic name-of-function variable instead of "... David L. Nicol
- Re: assign to magic name-of-function variable instead ... Peter Scott
- Re: assign to magic name-of-function variable instead ... David L. Nicol
- Re: assign to magic name-of-function variable inst... James Mastros
- Re: assign to magic name-of-function variable ... Johan Vromans
- Re: assign to magic name-of-function varia... James Mastros
- Re: assign to magic name-of-function ... Bart Lateur
- Re: assign to magic name-of-funct... James Mastros
- Re: assign to magic name-of-f... abigail
- Re: assign to magic name-of-f... James Mastros
- Re: assign to magic name-of-f... Branden
- a name for the currently exec... David L. Nicol
- Re: a name for the currently ... Dan Sugalski
- Re: a name for the currently ... David L. Nicol
- Re: a name for the currently ... Peter Scott
- Re: a name for the currently ... Dan Sugalski
- Re: a name for the currently ... Nicholas Clark
- Re: assign to magic name-of-funct... James Mastros
- Re: assign to magic name-of-function ... John Porter
