Re: How to do a substring replacement in Perl 6

2015-06-09 Thread Paul Cochrane
> > Hi all! > > > > From http://perldoc.perl.org/functions/substr.html: > > > > substr has a 4th argument (or you can use substr as an lvalue) for > > replacement. > > substr EXPR,OFFSET,LENGTH,REPLACEMENT > > > > From http://doc.perl6.org/routine/substr I don't see any way to do a > > replace

Re: How to do a substring replacement in Perl 6

2015-06-08 Thread Bruce Gray
On Jun 8, 2015, at 3:51 PM, Douglas E. Miles wrote: > Hi all! > > From http://perldoc.perl.org/functions/substr.html: > > substr has a 4th argument (or you can use substr as an lvalue) for > replacement. > substr EXPR,OFFSET,LENGTH,REPLACEMENT > > From http://doc.perl6.org/routine/substr I d

Re: How to do a substring replacement in Perl 6

2015-06-08 Thread Douglas E. Miles
Thanks Paul! On 6/8/2015 2:46 PM, Paul Cochrane wrote: Hi Douglas, From http://perldoc.perl.org/functions/substr.html: substr has a 4th argument (or you can use substr as an lvalue) for replacement. substr EXPR,OFFSET,LENGTH,REPLACEMENT From http://doc.perl6.org/routine/substr I don't see

Re: How to do a substring replacement in Perl 6

2015-06-08 Thread Douglas E. Miles
Thanks Bruce! On 6/8/2015 4:04 PM, Bruce Gray wrote: On Jun 8, 2015, at 3:51 PM, Douglas E. Miles wrote: Hi all! From http://perldoc.perl.org/functions/substr.html: substr has a 4th argument (or you can use substr as an lvalue) for replacement. substr EXPR,OFFSET,LENGTH,REPLACEMENT From

Re: How to do a substring replacement in Perl 6

2015-06-08 Thread Bruce Gray
On Jun 8, 2015, at 3:51 PM, Douglas E. Miles wrote: > Hi all! > > From http://perldoc.perl.org/functions/substr.html: > > substr has a 4th argument (or you can use substr as an lvalue) for > replacement. > substr EXPR,OFFSET,LENGTH,REPLACEMENT > > From http://doc.perl6.org/routine/substr I d

Re: How to do a substring replacement in Perl 6

2015-06-08 Thread Paul Cochrane
Hi Douglas, > From http://perldoc.perl.org/functions/substr.html: > > substr has a 4th argument (or you can use substr as an lvalue) for > replacement. > substr EXPR,OFFSET,LENGTH,REPLACEMENT > > From http://doc.perl6.org/routine/substr I don't see any way to do a > replacement. What is the idio