Right. You're touching a place where we've had to make things a bit less
friendly because rakudo is a bootstrapped compiler.
You can work around this problem with code like:
say Int.^attributes>>.name
On 01/22/2016 01:52 PM, Sam S. via RT wrote:
This is the root of the problem:
➜ say ($d + 2).WHAT;
(Duration)
➜ say ($d * 2).WHAT'
(Num)
The behavior of += and *= is just a consequence of that.
Then the question remains why the multiplication results in Num if it
multiplies wi
# New Ticket Created by Sylvain Colinet
# Please include the string: [perl #127345]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127345 >
Running
https://gist.github.com/Skarsnik/6bff05010aa08d1b7869
Method 'piko' not found
On Thu, Jan 21, 2016 at 2:29 PM, Tobias Leich via RT <
perl6-bugs-follo...@perl.org> wrote:
> Can't we do something like this[^1] on darwin also?
>
> [^1] https://github.com/MoarVM/MoarVM/blob/master/build/setup.pm#L445
>
> Like, checking for the existance of clang, and falling back to gcc?
>
gcc
# New Ticket Created by Rick Bychowski
# Please include the string: [perl #127344]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127344 >
test.pl:
sub MAIN (*%h) { %h.keys.say; };
then test.pl --foo=bar --42=bat
returns (-42
On Mon, May 18, 2015 at 7:46 AM, Tobias Leich wrote:
> We precompile modules using a command line option like in: 'perl6
> --target=mbc --output=foo.pm.moarvm'.
...
> We are working on creating executables such as 'foo.exe' from a given
> Perl 6 script, though I expect that this takes a few months
gfldex++ for blogging.
My basic feeling about documentation is that it should:
1. Explain the construct, it's purpose and behaviour.
2. Give code examples that explain one thing and do it well.
The original example was there to explain that you would not get DEFAULT
exports if you pass a positio