Re: How do I handle Getopt::Long stray entries?

2020-05-10 Thread Peter Pentchev
On Sun, May 10, 2020 at 06:20:02PM -0700, ToddAndMargo via perl6-users wrote: > Hi All, > > https://modules.raku.org/dist/Getopt::Long:cpan:LEONT > > How do I handle stray entries (unknown options) without > crashing? Is there some grab bag I can stick all > those into? When something signals a

How do I handle Getopt::Long stray entries?

2020-05-10 Thread ToddAndMargo via perl6-users
Hi All, https://modules.raku.org/dist/Getopt::Long:cpan:LEONT How do I handle stray entries (unknown options) without crashing? Is there some grab bag I can stick all those into? $ GetOptLongTest.pl6 --SomethingExtra Unknown option SomethingExtra in sub get-option at /opt/rakudo-pkg/share/p

Re: I need help with sub MAIN

2020-05-10 Thread ToddAndMargo via perl6-users
On 2020-05-05 12:28, yary wrote: Oops my example was missing the important $*USAGE message. And it makes sense to show the wrong named args before the wrong list args. example.raku:   multi sub MAIN(:$these ="These", :$are="Are") { say "$these $are"; };   multi sub MAIN(*@wrong-list,:$these =

Announce: Rakudo compiler, Release 2020.05.1

2020-05-10 Thread Alexander Kiryuhin
On behalf of the Rakudo development team, I'm announcing an out-of-schedule release of the Rakudo compiler. Rakudo is an implementation of the Raku[^1] language. This release is a point release in addition to the regular, monthly releases. This release fixes relocatability on Windows. Users of oth

No such method 'prefix' for invocant of type 'Capture' when trying to patch a new library include path

2020-05-10 Thread Konrad Bucheli via perl6-users
Dear Raku experts I have a little patch which adds another library include path and installation site named "foo" which points to "/opt/foo/lib", see attached patch. That worked (in a similar fashion) well with 2020.02, but with 2020.05 it fails on the following test: $ cat foo.rakumod unit

Announce: Rakudo compiler, Release 2020.05

2020-05-10 Thread Alexander Kiryuhin
On behalf of the Rakudo development team, I’m very happy to announce the May 2020 release of Rakudo #135 . Rakudo is an implementation of the Raku[^1] language. The source tarball for this release is available from https://rakudo.org/files/rakudo. Pre-com