On Thu, 17 Aug 2000, John Porter wrote:
> Huh? They need to be "globals", because the "with" mechanism
> is going to have to be able to write them into a symbol table.
> You can't do this with lexicals. (Well, maybe that'll be different
> in perl6?)
Well, if you're using the HOF notation, I believe it works.
Alternatively, the interpreter can simply DWIM and add in the appropriate
derefed-hash-refs in the appropriate places.
But globals is fine, as long as you save (localize) the old values
first.
Dave
- Re: Default filehandles(was Re: command line option: $... Chaim Frenkel
- Re: Default filehandles(was Re: command line option: $... Nathan Wiger
- Re: Default filehandles(was Re: command line option: $... Chaim Frenkel
- Re: Default filehandles(was Re: command line option: $... Peter Scott
- pascal-like "with" was Re: Default filehand... David L. Nicol
- Re: pascal-like "with" was Re: Default file... Dave Storrs
- Re: pascal-like "with" was Re: Default file... Johan Vromans
- Re: pascal-like "with" was Re: Default file... Dave Storrs
- Re: pascal-like "with" was Re: Default file... John Porter
- Re: pascal-like "with" was Re: Default file... Johan Vromans
- Re: pascal-like "with" was Re: Default fileh... Dave Storrs
- Re: pascal-like "with" was Re: Default fileh... Clayton Scott
- Re: pascal-like "with" was Re: Default fileh... Dave Storrs
- implied pascal-like "with" or "express&... David L. Nicol
- Re: implied pascal-like "with" or "expr... Jeremy Howard
- Re: implied pascal-like "with" or "expr... David L. Nicol
- Re: implied pascal-like "with" or "expr... Jonathan Scott Duff
- Re: implied pascal-like "with" or "expr... David L. Nicol
- Re: implied pascal-like "with" or "expr... Dave Storrs
- Re: implied pascal-like "with" or "expr... Brian Wheeler
- Re: implied pascal-like "with" or "expr... Jonathan Scott Duff
