Re: [perl #127342] LTA error message talks about BOOTSTRAPATTR (say Int.^attributes)

2016-01-22 Thread Timo Paulssen
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

Re: [perl #127339] problem using Duration

2016-01-22 Thread mt1957
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

[perl #127345] [LTA] Backtrace should point at the faulty line and not the statement line

2016-01-22 Thread via RT
# 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

Re: [perl #127308] Configure.pl with moar fails to find C compiler on older Darwin

2016-01-22 Thread Brandon Allbery via RT
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

[perl #127344] fail to handle numbers as option name for MAIN

2016-01-22 Thread via RT
# 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

Re: Will Perl 6 save a compiled version of a source program like Python?

2016-01-22 Thread Tom Browder
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

Re: [perl #127305] EXPORT ignored when unit module/package is used

2016-01-22 Thread Lloyd Fournier
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