Talking to myself :-)
Seems it has something to do with the values in the hash. If they are just
True, this works:
$ perl6
To exit type 'exit' or '^D'
> my %a= :k, :e, :r; my %r= :r; my %e= :e; my Set $s = %a (-) %r (-) %e;
set(k)
On 23 November 2017 at 16:20, Norman Gaywood wrote:
> For comp
For compactness, here are the 1-liners:
$ perl6
To exit type 'exit' or '^D'
> my %a= k=>"k", e=>"e", r=>"r"; my %r= r=>"r"; my %e= e=>"e"; my Set $s =
%a (-) %r (-) %e;
Cannot convert string to number: base-10 number must begin with valid
digits or '.' in '⏏k' (indicated by ⏏)
in block at line
I'm not sure what this error message means and what is going on here:
perl6 --version
This is Rakudo version 2017.08 built on MoarVM version 2017.08.1
implementing Perl 6.c.
$ cat tt-h.p6
#!/usr/bin/env perl6
my %excludes = "exclude" => "exclude";
my %all = :keep("keep"), :exclude("exclude"), :re
On Mon, 20 Nov 2017 12:13:47 -0800, ronaldxs wrote:
> What about a native perl6 range loop? Couldn't there be some way for
> Perl 6 / Rakudo to generate code competitive on a small range with the
> "native-loop" example?
>
> perl6 -e '
> {
> my int ($a, $one, $three) = (42, 1, 3);
>
# New Ticket Created by Curt Tilmes
# Please include the string: [perl #132487]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=132487 >
% perl6 -e 'my $proc = run "cat", :in, :out; $proc.in.say: "test\n"; say
$proc.out.get; $p