I tried to reply on RT, but I couldn't. Was not able to reproduce on
more current perl6:
This is Rakudo version 2016.02-189-g8437418 built on MoarVM version
2016.02-33-g1e3d2ac
Thanks!
On 5/7/2016 1:07 PM, Sam S. via RT wrote:
It works fine for me on a current Rakudo. (I'm using Linux, like
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
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
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
replacement. What is the idiomatic way of doi
= "baz";
say $foo'
Foo.new(bar => "bar")
Foo.new(bar => "baz")
Note the lowercase str type.
The normal Str type can be set by binding to the $!bar attribute from
within the class, but not from the outside via arguments to .new sadly.
Cheers, FROGGS
Am 02.
Hi all!
I just started learning Perl 6 about 5 days ago, so I may not know what
I'm talking about, but I may have found a bug. I posted to #perl6 with
my original code, and raydiak and timotimo were nice enough to golf it
down for me:
Str in CStruct blows up:
$ perl6
> use NativeCall; class