Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-19 Thread Larry Wall
On Fri, Mar 18, 2005 at 04:06:21PM -0700, Luke Palmer wrote: : Larry Wall writes: : > %::{'&infix:'}, I suspect. : : I suspect that's a bad idea. What about &infix:{'<'}? Well, one could go with &infix:«<» in that case, but yes, one could always construct an operator that violates all the standa

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-18 Thread Luke Palmer
Larry Wall writes: > On Fri, Mar 18, 2005 at 03:27:04PM +0800, Autrijus Tang wrote: > : On Fri, Mar 18, 2005 at 12:25:26AM -0700, Luke Palmer wrote: > : > Of course not. &infix: refers to the infix Y operator, but you need > : > the hashy subscript. > : > : So, what is the full name for the opera

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-18 Thread Larry Wall
On Fri, Mar 18, 2005 at 03:27:04PM +0800, Autrijus Tang wrote: : On Fri, Mar 18, 2005 at 12:25:26AM -0700, Luke Palmer wrote: : > Of course not. &infix: refers to the infix Y operator, but you need : > the hashy subscript. : : So, what is the full name for the operator in the symbol table? :) %:

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-18 Thread Andrew Savige
--- Autrijus Tang <[EMAIL PROTECTED]> wrote: > Woot! I'd like to see that program once you finished it. :) I've written up my experiences at: http://www.perlmonks.org/?node_id=440685 I'll commit it to examples/golf after feedback is received. Thanks for all your help! /-\ Find local movie tim

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-17 Thread Autrijus Tang
On Fri, Mar 18, 2005 at 12:25:26AM -0700, Luke Palmer wrote: > Of course not. &infix: refers to the infix Y operator, but you need > the hashy subscript. So, what is the full name for the operator in the symbol table? :) Thanks, /Autrijus/ pgpMFAgq8DISS.pgp Description: PGP signature

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-17 Thread Luke Palmer
Autrijus Tang writes: > On Fri, Mar 18, 2005 at 12:20:31AM -0700, Luke Palmer wrote: > > That's actually because of the list of allowed characters in a variable > > name included : to support $Foo::bar. Unfortuately, it would also > > support $Fo:oba:r, and your $label . It appears to be fixed as

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-17 Thread Autrijus Tang
On Fri, Mar 18, 2005 at 12:20:31AM -0700, Luke Palmer wrote: > That's actually because of the list of allowed characters in a variable > name included : to support $Foo::bar. Unfortuately, it would also > support $Fo:oba:r, and your $label . It appears to be fixed as of r868. Hey. Is "&infix:Y"

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-17 Thread Autrijus Tang
On Fri, Mar 18, 2005 at 05:39:49PM +1100, Andrew Savige wrote: > # cat h3.p6 > my $label = 'abc'; > print("$label: is this new indirect object call business?\n"); > > # perl -w h3.p6 > abc: is this new indirect object call business? > > # pugs h3.p6 > Undefined variable $label: > Var "$label:" D

Re: [Pugs] Stumbled into another Pugs sand trap (indirect object call I think)

2005-03-17 Thread Luke Palmer
Andrew Savige writes: > # cat h3.p6 > my $label = 'abc'; > print("$label: is this new indirect object call business?\n"); > > # perl -w h3.p6 > abc: is this new indirect object call business? > > # pugs h3.p6 > Undefined variable $label: > Var "$label:" That's actually because of the list of all