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
- pascal-like "with" was Re: Default filehand... David L. Nicol
- Re: pascal-like "with" was Re: Default... Dave Storrs
- Re: pascal-like "with" was Re: Def... Johan Vromans
- Re: pascal-like "with" was Re:... Dave Storrs
- Re: pascal-like "with" was... John Porter
- Re: pascal-like "with"... Johan Vromans
- Re: pascal-like "with"... Dave Storrs
- Re: pascal-like "with" was Re: Defa... Clayton Scott
- Re: pascal-like "with" was Re: ... Dave Storrs
- implied pascal-like "with" or "... David L. Nicol
- Re: implied pascal-like "with" ... Jeremy Howard
- Re: implied pascal-like "with&qu... David L. Nicol
- Re: implied pascal-like "wi... Jonathan Scott Duff
- Re: implied pascal-like &quo... David L. Nicol
- Re: implied pascal-like &quo... Dave Storrs
- Re: implied pascal-like ... Brian Wheeler
- Re: implied pascal-like ... Jonathan Scott Duff
- Re: implied pascal-like ... Dave Storrs