Re: Rule Parameters

2005-03-02 Thread Larry Wall
On Wed, Mar 02, 2005 at 12:42:08PM -0600, Rod Adams wrote: : Larry Wall wrote: : : >On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : >: Since the line between rules and subs is already blurring significantly, : >: I want to blur it a little more. I want to write rules which can take

Re: Rule Parameters

2005-03-02 Thread Patrick R. Michaud
> : Does get handled as )> or as > : , q)>, in which case it's really qw//? > > The former. It's a single string, which you can parse however you like. > Though I suppose we could extend the colon to a colon modifier: > > > > That's getting a little weird though, considering that in most

Re: Rule Parameters

2005-03-02 Thread Larry Wall
On Wed, Mar 02, 2005 at 01:24:59PM -0600, Rod Adams wrote: : Thanks for pointing that out, Patrick. I'm impressed with how you've : assimilated all the S's & A's. (And yes, I love that the guy in charge : of implementing the language has that ability.) Yes, Patrick is a jewel. We'll probably we

Re: Rule Parameters

2005-03-02 Thread Rod Adams
Patrick R. Michaud wrote: On Tue, Mar 01, 2005 at 09:32:28PM -0800, Larry Wall wrote: On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : Since the line between rules and subs is already blurring significantly, : I want to blur it a little more. I want to write rules which can take :

Re: Rule Parameters

2005-03-02 Thread Rod Adams
Larry Wall wrote: On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : Since the line between rules and subs is already blurring significantly, : I want to blur it a little more. I want to write rules which can take : parameters. No problem. That's how the arguments to rules like are a

Re: Rule Parameters

2005-03-02 Thread Patrick R. Michaud
On Tue, Mar 01, 2005 at 09:32:28PM -0800, Larry Wall wrote: > On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: > : Since the line between rules and subs is already blurring significantly, > : I want to blur it a little more. I want to write rules which can take > : parameters. > > No p

Re: Rule Parameters

2005-03-01 Thread Larry Wall
On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : Since the line between rules and subs is already blurring significantly, : I want to blur it a little more. I want to write rules which can take : parameters. No problem. That's how the arguments to rules like are already passed. If

Re: Rule Parameters

2005-03-01 Thread Luke Palmer
Rod Adams writes: > Since the line between rules and subs is already blurring significantly, > I want to blur it a little more. I want to write rules which can take > parameters. No no no! That's too powerful. Wow, skimming through both S5 and A5 and I see no mention of such a thing. I know w