Re: Learn Perl 6

2016-09-28 Thread Francis (Grizzly) Smit
I did this too and it wasn't till the third page of results that I found FUD, Perl6 is looking more and more up :-) On 29/09/16 14:22, Brock Wilcox wrote: Good feedback. I just did a similar search in a fresh (incognito) browser with similar, though not quite as bad, results. All the top

Re: Learn Perl 6

2016-09-28 Thread Brock Wilcox
Good feedback. I just did a similar search in a fresh (incognito) browser with similar, though not quite as bad, results. All the top things at least are active and have links to good stuff. I don't know what "SixFix" is, but I signed up :) On Wed, Sep 28, 2016 at 8:56 PM, Sayth Renshaw

Learn Perl 6

2016-09-28 Thread Sayth Renshaw
Hi I wanted to bring up something to the perl 6 community from somewhat of an outsider however i have quitely installed several rakudo releases over last few years. Type "learn perl6" into google. Not sure you will like what you see the first 2 results are acceptable perl 6 in x y and the actual

[perl #129756] method CALL-ME comes out of nowhere

2016-09-28 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #129756] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129756 > S13-overloading/typecasting-long.t tests quite heavily for CALL-ME but that method

Re: pull results out of a variable

2016-09-28 Thread Brandon Allbery
On Wed, Sep 28, 2016 at 5:15 PM, Nex6 via perl6-users wrote: > my $results = run 'ping', '-c', '1',$line; > > where $line is the IP address, $results hold the result how can i pull the > results out? it outputs like this: > Actually, it doesn't have them with that

pull results out of a variable

2016-09-28 Thread Nex6 via perl6-users
Hi all, just starting my journey down Perl6, figured best way to learn it is to write stuff so i am do some stuff I have done in other languages. as ideas for what to write. first a ping sweep; problem is: if i: my $results = run 'ping', '-c', '1',$line; where $line is the IP address,

[perl #127967] [JVM] Test in S06-advanced/wrap.t dies with "control operator crossed continuation barrier"

2016-09-28 Thread Christian Bartolomaeus via RT
I made a PR for my suggested change and with NQP commit 9da2705b1b the test passes on JVM. I'm closing this ticket as 'resolved'.

[perl #128579] [JVM] ver and auth meta methods not present on packages

2016-09-28 Thread Christian Bartolomaeus via RT
With rakudo commit 5435f32949 the tests are passing again. I'm closing this ticket again.

[perl #64766] [JVM] Possibly inconsistent behaviour in mixing-in of 'handles'

2016-09-28 Thread Christian Bartolomaeus via RT
With rakudo commit 5435f32949 the test passes again on JVM. I'm closing this ticket.

[perl #129375] [JVM] wrong exception type thrown: "Applying traits to submethods retains submethod semantics"

2016-09-28 Thread Christian Bartolomaeus via RT
With commit rakudo 5435f32949 the test passes again. I'm closing this ticket.

[perl #129753] [BUG] Smartmatching Promise against an Enum hangs

2016-09-28 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #129753] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129753 > Filing for records. Fixed by jnthn++ in

[perl #129430] where-clause on capture does not work

2016-09-28 Thread jn...@jnthn.net via RT
On Wed Sep 28 03:23:35 2016, gfldex wrote: > sub f( |c where { c } ) {}; f 42 > > # OUTPUT«===SORRY!=== Error while compiling ␤Variable '' is not > declared␤at :1␤--> sub f( |c where { ⏏c } ) {}; f 42␤» > > # expected to work analog to > > sub f( *@a where { @a } ) {}; f 42 The declaration

Re: Best way to get a PCRE6 on the JVM?

2016-09-28 Thread Patrick R. Michaud
A simpler approach might be to build an NQP that runs on the JVM, and find a way to call into it. (The Perl 6 regular expression engine is written in NQP.) Pm On Wed, Sep 28, 2016 at 09:21:50AM -0400, Will Coleda wrote: > To start with, there isn't a PCRE6. > > If you want, more generically,

[perl #129344] [BUG] "my" variable in a recursive subroutine leaks to callers scope

2016-09-28 Thread jn...@jnthn.net via RT
On Sat Sep 24 01:02:24 2016, lloyd.fo...@gmail.com wrote: > Reproduced. Looks like you shouldn't nest subs inside recursive functions > atm :S. I think it's only multis that suffer the problem. /jnthn

[perl #129364] named arguments in sub signature not filled with values in surrounding where clause

2016-09-28 Thread jn...@jnthn.net via RT
On Mon Sep 26 15:42:15 2016, gfldex wrote: > sub f( | ( :$a) where { dd $a } ) {}; f 42 > > # OUTPUT«Mu␤Constraint type check failed for parameter ''␤in sub f > at line 1␤ in block at line 1␤␤» > > # it should either work or complain that $a is not declared in this scope Making it work

Re: Best way to get a PCRE6 on the JVM?

2016-09-28 Thread Will Coleda
To start with, there isn't a PCRE6. If you want, more generically, to be able to use Perl 6 Regular Expressions in Java, you can build a rakudo that runs (with reduced functionality) on the JVM. I'm not sure there's a way at this point to call into the Perl 6 code from arbitrary Java code,

[perl #129259] [UNI] Unicode 9.0 (say ‘

2016-09-28 Thread jn...@jnthn.net via RT
On Mon Sep 12 14:01:41 2016, alex.jakime...@gmail.com wrote: > It is a known issue, but I figured a ticket is not going to hurt. > > Code: > say ‘曆’.uniname > > Result: > > > Expected Result: > BUTTERFLY Works now, and added a test in S15-unicode-information/uniname.t to verify it works.

[perl #129596] [BUG] .subst-mutate does not return all matches when :x option is used

2016-09-28 Thread Zoffix Znet via RT
Fixed in https://github.com/rakudo/rakudo/commit/f6524e61e8 Tests added in https://github.com/perl6/roast/commit/391ecba7b9 On Wed Sep 28 06:02:48 2016, c...@zoffix.com wrote: > # I have the fix; filing for records > > The .subst-mutate routine returns a Match object (or Nil) on singular >

[perl #129596] [BUG] .subst-mutate does not return all matches when :x option is used

2016-09-28 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #129596] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129596 > # I have the fix; filing for records The .subst-mutate routine returns a Match object

[perl #129430] where-clause on capture does not work

2016-09-28 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #129430] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129430 > sub f( |c where { c } ) {}; f 42 # OUTPUT«===SORRY!=== Error while compiling

Best way to get a PCRE6 on the JVM?

2016-09-28 Thread Toolforger
Hi all, title says it all: I have a use case for a Perl6 PCRE on the JVM. Sorry for wasting your time if such a thing already exists; if no, I'd like to discuss strategies how to best do that. Thanks in advance! Jo