Re: [perl #57756] Implementation of .subst for strings in rakudo

2008-08-12 Thread Carl Mäsak
Just tracked down a slight braino in the Str implementation of subst. The new attached patch fixes this. subst-oops.patch Description: Binary data

Re: [perl #57756] Implementation of .subst for strings in rakudo

2008-08-10 Thread Carl Mäsak
Patrick (>): > 1. I suspect this method really belongs in src/builtins/any-str.pir >instead of the C class, so that we can do replacements on >the stringification of any invocant (not just C objects). > > 2. The :multi() is likely incorrect, even as a method of C. >Any object should b

Re: [perl #57756] Implementation of .subst for strings in rakudo

2008-08-09 Thread Patrick R. Michaud
On Sat, Aug 09, 2008 at 10:24:20AM -0700, Carl Mäsak wrote: > Patch attached. > > I've also fudged t/builtins/strings/subst.t in the Pugs repo, so that > it passes with this patch applied. Thanks! A couple of items: 1. I suspect this method really belongs in src/builtins/any-str.pir instea