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
- Re: assign to magic name-of-function variable instead of... Simon Cozens
- Re: assign to magic name-of-function variable instead of... James Mastros
- Re: assign to magic name-of-function variable instead of... John Porter
- Re: assign to magic name-of-function variable instead of... Damian Conway
- Re: assign to magic name-of-function variable instead of... Damian Conway
- Re: assign to magic name-of-function variable inste... Jarkko Hietaniemi
- Re: assign to magic name-of-function variable instead of... John Porter
- Re: assign to magic name-of-function variable inste... David L. Nicol
- Re: assign to magic name-of-function variable instead of... abigail
- Re: assign to magic name-of-function variable instead of... abigail
- Re: assign to magic name-of-function variable instead of... David L. Nicol
- Re: assign to magic name-of-function variable instead of... Glenn Linderman
- Re: assign to magic name-of-function variable instead of... Damian Conway
- Re: assign to magic name-of-function variable inste... Edward Peschko
- Re: assign to magic name-of-function variable inste... Glenn Linderman
- Re: assign to magic name-of-function variable inste... Johan Vromans