Re: [perl #127243] DESTROY is not called on interpreter exit

2016-01-12 Thread Elizabeth Mattijsen
> On 12 Jan 2016, at 04:49, Dave Rolsky (via RT) > wrote: > > # New Ticket Created by Dave Rolsky > # Please include the string: [perl #127243] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=127243 > > > > Here's an ex

[perl #127247] [BUG] Circular dependancy lock rakudo in an infinite loop

2016-01-12 Thread via RT
# New Ticket Created by Sylvain Colinet # Please include the string: [perl #127247] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127247 > Using https://gist.github.com/Skarsnik/df17adee07c18fa52c00 as a test Perl6 just go o

Re: [perl #127247] [BUG] Circular dependancy lock rakudo in an infinite loop

2016-01-12 Thread mt1957
On 01/12/2016 02:26 PM, Sylvain Colinet (via RT) wrote: # New Ticket Created by Sylvain Colinet # Please include the string: [perl #127247] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127247 > Using https://gist.github.com/

[perl #120638] Empty array reference in a loop leaks memory on rakudo-parrot

2016-01-12 Thread Will Coleda via RT
On Thu Mar 12 08:56:50 2015, barto...@gmx.de wrote: > I've run the script mem.p6 on with a current rakudo.moar and > rakudo.jvm and with rakudo.parrot from Rakudo Star 2015.02. On neither > backend there is a severe memory leak (cmp. attached files moar.txt, > jvm.txt, parrot.txt). > > So, is this

[perl #127252] [IMPROVEMENT NEEDED] to-json() to comply with newest JSON spec

2016-01-12 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #127252] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127252 > The newest JSON spec—contrary to previous versions—does allow non-object/array things at

Perl 6 Module and Program File Extension Conventions?

2016-01-12 Thread Tom Browder
In Perl 5 it seems the prevailing convention (in my experience) is to use ".pl" for Perl programs and ".pm" as file suffixes for Perl modules. In Perl 6 I have seen in the various repos, blogs, and doc both ".pl", ".p6", and ".pl6" for programs and both ".pm" and ".pm6" for modules. Is there any

Re: Perl 6 Module and Program File Extension Conventions?

2016-01-12 Thread Parrot Raiser
For *nix, don't use a suffix. #! does the job. For Windows, you'll want to leave .pl and .pm for Perl 5. On 1/12/16, Tom Browder wrote: > In Perl 5 it seems the prevailing convention (in my experience) is to > use ".pl" for Perl programs and ".pm" as file suffixes for Perl > modules. > > In Perl

Re: Mooch a regex

2016-01-12 Thread ToddAndMargo
On 01/11/2016 11:24 PM, Tobias Leich wrote: hi, what's in ${BaseTag}? Is it a regex rule or just a plain string? (Because that matters in Perl 6) It is a string and can vary. Would you show me both ways to keep me out of trouble? Am 12.01.2016 um 01:55 schrieb ToddAndMargo: Hi All, Would

Re: Mooch a regex

2016-01-12 Thread Tobias Leich
First of all, your fist line contains a bug, unless the topic variable ($_) is set to something meaningful. Because the regex after the 'and' matches against said topic. See: ~$ perl -E '$_ = "bar"; say ("foo" =~ /f+/ and /o/)' # "", so false ~$ perl -E '$_ = "bar"; say ("foo" =~ /f+/ and /a/)'

[perl #127253] LTA error message on deep recursions

2016-01-12 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #127253] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127253 > The most simple case is: m: sub foo() { return foo }; say foo rakudo-moar 5ed58f: OU

Re: Mooch a regex

2016-01-12 Thread Bruce Gray
On Jan 11, 2016, at 6:55 PM, ToddAndMargo wrote: > Would yo all terribly mind if I ask how to do this Perl 5 regex > in Perl 6? (I learn best by example.) > if ( $ClickLine =~ /aes256/ and /${BaseTag}/ ) { > push ( @WebClickHere, $ClickLine ); > > if ( $Line =~ m{se

Re: Perl 6 Module and Program File Extension Conventions?

2016-01-12 Thread Parrot Raiser
Looking at the documentation, http://doc.perl6.org/language/modules see "Basic structure". On 1/12/16, Parrot Raiser <1parr...@gmail.com> wrote: > For *nix, don't use a suffix. #! does the job. > > For Windows, you'll want to leave .pl and .pm for Perl 5. > > On 1/12/16, Tom Browder wrote: >> In

[perl #112216] slicing a string with inifinite ranges gives LTA error message

2016-01-12 Thread Will Coleda via RT
On Tue Jan 21 17:15:14 2014, coke wrote: > On Tue Apr 03 22:38:13 2012, moritz wrote: > > > > > > On 04/03/2012 11:16 PM, Patrick R. Michaud wrote: > > > On Tue, Apr 03, 2012 at 09:22:11PM +0200, Moritz Lenz wrote: > > >> On 04/03/2012 06:44 PM, Patrick R. Michaud via RT wrote: > > >> > On Tue Apr

[perl #127254] Segmentation fault on recursive binding (my $x := (my $y := $x))

2016-01-12 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #127254] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127254 > Code: my $x := (my $y := $x); say $x.WHAT; Result: Segmentation fault Code: my $x :=