On Thu, Feb 01, 2001 at 07:36:59PM -0600, David L. Nicol wrote: > So a way > to have the feature (direct assignment to external lvalue) and maintain > portability might be to forget about magic names and just make the new > LNV (which I am calling $__ in this thread) mean "An alias for the > L-value of what the subroutine return value will get assigned to A /much/ better syntax, IMHO. However, $__ must act sanely when we're called as an inner function (IE foo(bar(42))). And I always hated that about VB and Pascal -- you can assign to the magic variable, but can't modify it. And if you try, you don't error, you recruse. And perl will happily recruse until you run out of memory, and VB will give a stack overflow, and take down the IDE and your code unless you're careful. -=- James Mastros -- "My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers fought, land where our King was shot -- from every building top, let freedom happen!" -=- Monique, Sinfest[.net] AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
- 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 ... John Porter
- Re: assign to magic name-of-function variable instead ... Branden
- Re: assign to magic name-of-function variable instead ... David L. Nicol
- Re: assign to magic name-of-function variable instead ... James Mastros
- Re: assign to magic name-of-function variable instead ... John Porter
- Re: assign to magic name-of-function variable instead ... David L. Nicol
- Re: assign to magic name-of-function variable instead ... abigail
- Re: assign to magic name-of-function variable instead ... James Mastros
- Re: assign to magic name-of-function variable inst... David L. Nicol
- Re: assign to magic name-of-function variable instead ... Johan Vromans
- Re: assign to magic name-of-function variable instead ... James Mastros
- Re: assign to magic name-of-function variable instead ... Bart Lateur
- Re: assign to magic name-of-function variable inst... James Mastros