Re: pascal-like with was Re: Default filehandles(was Re: command line option: $|++)

2000-08-17 Thread Dave Storrs
This seems good...the HOF stuff seems to have pretty well accepted, and the thumbtack notation with it. Dave On Thu, 17 Aug 2000, Clayton Scott wrote: On Wed, 16 Aug 2000, David L. Nicol wrote: %record = loadrecord($studentID); with %record {

Re: pascal-like with was Re: Default filehandles(was Re: command line option: $|++)

2000-08-17 Thread John Porter
Dave Storrs wrote: On 17 Aug 2000, Johan Vromans wrote: Dave Storrs [EMAIL PROTECTED] writes: 2) "express" should guarantee that, before it creates a variable names $FOO, it first calls "local" on any existing $FOO Why, if the variable is lexical (see 3)? D'oh. s{2) .+^}{}

Re: pascal-like with was Re: Default filehandles(was Re: command line option: $|++)

2000-08-17 Thread Damian Conway
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 }; "I do not thin' that

Re: pascal-like with was Re: Default filehandles(was Re: command line option: $|++)

2000-08-17 Thread Clayton Scott
Damian Conway wrote: So Cwith is going to have to do some pretty freaky magic to work out it should call that sub as part of the Cprint. And call it with a specifically ordered argument list. Yes, I never said it would work, just that it looked nicer :) However, your suggestion