How to accomplish a method interpolation?

2017-12-29 Thread clasclin .
I'm reading a book "Make your own python text adventure" and decided to give it a try with perl6. So this code works as expected. class Bag { has %.items; method show { say "ropa ", %!items.amount if %!items:exists; say "femur ", %!items.amount if %

[perl #132668] [NATIVECALL][SEGV] OpenSSL PEM_write_bio_RSAPrivateKey

2017-12-29 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #132668] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132668 > I was trying to add RSA key generation using nativecall and OpenSSL but kept getting no

[perl #131700] [IO] prompt not working on bash-on-ubuntu on win10

2017-12-29 Thread Zoffix Znet via RT
On Tue, 04 Jul 2017 06:51:16 -0700, blackcatoverw...@gmail.com wrote: > In bash on win10 > > Code: > > perl6 --ll-exception -e ' prompt "123" ' > > Output: > > 123 > Cannot flush handle: Failed to flush filehandle: Input/output error >at SETTING::src/core/Exception.pm:63 > (/usr/share/perl6

[perl #131700] [IO] prompt not working on bash-on-ubuntu on win10

2017-12-29 Thread Zoffix Znet via RT
On Tue, 04 Jul 2017 06:51:16 -0700, blackcatoverw...@gmail.com wrote: > In bash on win10 > > Code: > > perl6 --ll-exception -e ' prompt "123" ' > > Output: > > 123 > Cannot flush handle: Failed to flush filehandle: Input/output error >at SETTING::src/core/Exception.pm:63 > (/usr/share/perl6

[perl #130613] [OPTIMIZER][LTA] "if" without "else" much slower than "if" with empty "else"

2017-12-29 Thread Zoffix Znet via RT
On Sat, 21 Jan 2017 11:45:10 -0800, ale...@yahoo.com wrote: > Take a look at the following examples - the second is more than > 10x(!!!) faster: > m: my int $i = 0; loop { if $i++ == 10_000_000 { last }}; say now - > INIT now;rakudo-moar f97d5c: OUTPUT«2.0606382␤» > m: my int $i = 0; loop { if $i++

[perl #130613] [OPTIMIZER][LTA] "if" without "else" much slower than "if" with empty "else"

2017-12-29 Thread Zoffix Znet via RT
On Sat, 21 Jan 2017 11:45:10 -0800, ale...@yahoo.com wrote: > Take a look at the following examples - the second is more than > 10x(!!!) faster: > m: my int $i = 0; loop { if $i++ == 10_000_000 { last }}; say now - > INIT now;rakudo-moar f97d5c: OUTPUT«2.0606382␤» > m: my int $i = 0; loop { if $i++

Re: Module wishlist priorities

2017-12-29 Thread Michael Stemle
https://github.com/perl6/perl6-most-wanted/blob/master/most-wanted/modules.md ~ Michael D. Stemle, Jr. > On Dec 29, 2017, at 15:22, Simon Proctor wrote: > > Where is the wishlist? > >> On Fri, 29 Dec 2017 at 20:12 Michael Stemle wrote: >> I just finished a module from the wishlist. I’d like

Re: Module wishlist priorities

2017-12-29 Thread Simon Proctor
Where is the wishlist? On Fri, 29 Dec 2017 at 20:12 Michael Stemle wrote: > I just finished a module from the wishlist. I’d like to pick up another. > Is this a good place to discuss priorities for the existing wishlist, or in > general? > > I didn’t see an obvious list for this topic. > > Many

Module wishlist priorities

2017-12-29 Thread Michael Stemle
I just finished a module from the wishlist. I’d like to pick up another. Is this a good place to discuss priorities for the existing wishlist, or in general? I didn’t see an obvious list for this topic. Many thanks. ~ Michael D. Stemle, Jr.

[perl #132666] [REGEX] [PARSER] Escaped hash character `\#` is somtimes parsed incorrectly

2017-12-29 Thread Zoffix Znet via RT
On Fri, 29 Dec 2017 07:05:29 -0800, sml...@gmail.com wrote: > These regexes parse and run fine (they match a single `#` character): > > /\#/; > /^\#/; > > But this one doesn't: > > /^ \#/; > > The error thrown, is: > > ===SORRY!=== > Regex not terminated. > at -e:1 >

[perl #132666] [REGEX] [PARSER] Escaped hash character `\#` is somtimes parsed incorrectly

2017-12-29 Thread Zoffix Znet via RT
On Fri, 29 Dec 2017 07:05:29 -0800, sml...@gmail.com wrote: > These regexes parse and run fine (they match a single `#` character): > > /\#/; > /^\#/; > > But this one doesn't: > > /^ \#/; > > The error thrown, is: > > ===SORRY!=== > Regex not terminated. > at -e:1 >

[perl #131243] [REGEX] Interpolating a Hash in a regex treats it as a list and errors out

2017-12-29 Thread Sam S. via RT
On Tue, 02 May 2017 08:35:34 -0700, c...@zoffix.com wrote: > Both of these forms produce the error below > > my %stuff = ; > say 'foo bar meows' ~~ m:g/ %stuff\S+ /; > say 'foo bar meows' ~~ m:g/ %() \S+ /; > > # P6opaque: no such attribute '$!reified' in type List when trying to > get >

[perl #132666] [REGEX] [PARSER] Escaped hash character `\#` is somtimes parsed incorrectly

2017-12-29 Thread via RT
# New Ticket Created by Sam S. # Please include the string: [perl #132666] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132666 > These regexes parse and run fine (they match a single `#` character): /\#/; /^\#/; Bu