Re: Keyword arguments

2002-11-06 Thread Piers Cawley
"Paul Johnson" <[EMAIL PROTECTED]> writes: > Austin Hastings said: > >> sub callmysub >> { >> mysub("Testing .. 1, 2, 3!"; key => 1024, align => Module::RIGHT); >> } >> >> Which, upon reflection, apparently introduces an "implicit hashparsing" >> context for autoquoting hashkeys. > > Those are p

Re: Keyword arguments

2002-11-06 Thread Paul Johnson
Austin Hastings said: > sub callmysub > { > mysub("Testing .. 1, 2, 3!"; key => 1024, align => Module::RIGHT); > } > > Which, upon reflection, apparently introduces an "implicit hashparsing" > context for autoquoting hashkeys. Those are pairs, aren't they? -- Paul Johnson - [EMAIL PROTECTED]

Re: Keyword arguments

2002-11-06 Thread Luke Palmer
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > From: Piers Cawley <[EMAIL PROTECTED]> > Date: Wed, 06 Nov 2002 12:44:39 + > X-SMTPD: qpsmtpd/0.12, http://develooper.com/code/qpsmtpd/ > > So, I was, thinking about the way Common Lisp handles keyword > arguments. It's possible to decl

Re: Keyword arguments

2002-11-06 Thread Austin Hastings
I think Damian already covered this: it's the semicolon. sub mysub(String $content; int $key, int $align) { ... } sub callmysub { mysub("Testing .. 1, 2, 3!"; key => 1024, align => Module::RIGHT); } Which, upon reflection, apparently introduces an "implicit hashparsing" context for autoquotin