Dave Storrs wrote: > > On Wed, 16 Aug 2000, David L. Nicol wrote: > > > Anyone for generalizing "select" to a more general "with" keyword > > which would operate on a limited hash and be syntactic sugar for > > replacing all appearances of unqualified variables that match > > the hash's keys with references into it? > > > > %record = loadrecord($studentID); > > with %record { > > print <<SPAM; > > Dear $Name: > > Your tuition is now due. Please send in a payment > > of at least $Minumum. > > > > SPAM > > > > # anyone for having a python-like floating left edge for > > # retaining indentation of hereis strings? > > > > }; This seems less of a leap of logic/faith: %record = loadrecord($studentID); with %record { print <<SPAM; Dear ^name: Your tuition is now due. Please send in a payment of at least ^minumum. SPAM }; Clayton -- Clayton Scott
- 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 file... 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
- Re: implied pascal-like "with" or "expr... Dave Storrs