Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
Hi All, Reference: https://github.com/tadzik/Terminal-ANSIColor/ How do I clean this Perl 5 line for Perl 6? 44: use Terminal::ANSIColor qw( BOLD BLUE RED GREEN RESET ); # perl6 -c CimTrakCheckAndResatart.pl6 ===SORRY!=== Error while compiling /home/linuxutil/CimTrakCheckAndResatart.pl6

[perl #130867] [BUG] `only` methods are used where `multies` should be, preventing dispatch to Mu.* candidates

2017-02-26 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130867] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130867 > Some types provide methods, like .Bool, .elems, .Str that are defined for :D subtypes.

Re: Terminal::ANSIColor problem

2017-02-26 Thread yary
On Sun, Feb 26, 2017 at 7:13 AM, ToddAndMargo wrote: > Undeclared routine: > qw used at line 44 > Use any other bracketing than parens, eg qw[a b c d] or qw/a b c d/ Parens are used for calling subs/methods so qw(.. ... ...) means "call the sub named qw" Fixing

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:12 AM, yary wrote: On Sun, Feb 26, 2017 at 7:13 AM, ToddAndMargo > wrote: Undeclared routine: qw used at line 44 Use any other bracketing than parens, eg qw[a b c d] or qw/a b c d/ Parens are used for calling

[perl #130864] [LTA] Error mentions QAST::WVal when using `:(%a)` on a hash

2017-02-26 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130864] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130864 > 14:07 ZzZombo m: my %a=%(kv=>1,delete=>1);my %h=%(abc=>123,bcd=>*);say %h<*>:(%a)

Re: Terminal::ANSIColor problem

2017-02-26 Thread yary
On Sun, Feb 26, 2017 at 8:21 AM, ToddAndMargo wrote: > Now what am I doing wrong? > Read the POD! use Terminal::ANSIColor; say color('bold'), "this is in bold", color('reset'); =head2 C Given a string with color names, the output produced by C

[perl #130866] [BUG] Crash when using .sort on reified empty Array

2017-02-26 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130866] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130866 > Filing for records. lizmat++ said will look at this in the future: m: .elems, .sort

Re: [perl #130863] [LTA][BUG] Cannot extract partially dimensioned view of array from fixed-size array

2017-02-26 Thread Elizabeth Mattijsen
> On 26 Feb 2017, at 07:06, Itsuki Toyota (via RT) > wrote: > > # New Ticket Created by Itsuki Toyota > # Please include the string: [perl #130863] > # in the subject line of all future correspondence about this issue. > #

Re: [perl #130863] [LTA][BUG] Cannot extract partially dimensioned view of array from fixed-size array

2017-02-26 Thread Elizabeth Mattijsen via RT
> On 26 Feb 2017, at 07:06, Itsuki Toyota (via RT) > wrote: > > # New Ticket Created by Itsuki Toyota > # Please include the string: [perl #130863] > # in the subject line of all future correspondence about this issue. > #

Re: [perl #130866] [BUG] Crash when using .sort on reified empty Array

2017-02-26 Thread Elizabeth Mattijsen
Fixed with 75e070fdea, TESTS_NEEDED > On 26 Feb 2017, at 17:25, Zoffix Znet (via RT) > wrote: > > # New Ticket Created by Zoffix Znet > # Please include the string: [perl #130866] > # in the subject line of all future correspondence about this issue. > #

Re: Terminal::ANSIColor problem

2017-02-26 Thread yary
Hmm... use Terminal::ANSIColor; by itself will import color and everything else. For selectively importing only what you want- which is good style IMHO- I looked up this https://docs.perl6.org/language/modules#___top which says "Note there currently is no way for the user to import a single

Re: Terminal::ANSIColor problem

2017-02-26 Thread Brandon Allbery
On Sun, Feb 26, 2017 at 8:14 PM, ToddAndMargo wrote: > Speaking of syntax errors, what is wrong with these > two lines (not used a the same time)? > > use Terminal::ANSIColor qw[ color ]; > use Terminal::ANSIColor::color; > The first one attempts to import a symbol

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:56 PM, yary wrote: Hmm... use Terminal::ANSIColor;**//___^ by itself will import color and everything else. For selectively importing only what you want- which is good style IMHO- I looked up this https://docs.perl6.org/language/modules#___top which says "Note there

[perl #130870] Some self-referential issue with hash assignment (%h1 = %h1, %h2)

2017-02-26 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130870] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130870 > Code: my %h1 = <1 a 2 b>; my %h2 = <3 c 4 d>; my %h3 = <5 e 6 f>;

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 07:28 AM, yary wrote: On Sun, Feb 26, 2017 at 8:21 AM, ToddAndMargo > wrote: Now what am I doing wrong? Read the POD! I was over here at https://github.com/tadzik/Terminal-ANSIColor/ "This is a

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:14 PM, ToddAndMargo wrote: And he doesn't link the POD. Where is the POD by the way? Found it: https://github.com/tadzik/Terminal-ANSIColor/commit/c95c318efe6ee1596d012146f4fed7e15f1f316e -- ~~ Computers are like air conditioners. They

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 05:59 PM, ToddAndMargo wrote: On 02/26/2017 05:14 PM, ToddAndMargo wrote: And he doesn't link the POD. Where is the POD by the way? Found it: https://github.com/tadzik/Terminal-ANSIColor/commit/c95c318efe6ee1596d012146f4fed7e15f1f316e This is better:

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 06:02 PM, Brandon Allbery wrote: On Sun, Feb 26, 2017 at 8:14 PM, ToddAndMargo > wrote: Speaking of syntax errors, what is wrong with these two lines (not used a the same time)? use Terminal::ANSIColor qw[ color ];

Re: Terminal::ANSIColor problem

2017-02-26 Thread Brandon Allbery
On Sun, Feb 26, 2017 at 9:38 PM, ToddAndMargo wrote: > On 02/26/2017 06:02 PM, Brandon Allbery wrote: >> >> On Sun, Feb 26, 2017 at 8:14 PM, ToddAndMargo > > wrote: >> >> Speaking of syntax errors, what is wrong

Re: [perl #128512] AutoReply: [BUG] utf8-c8 mangles by NFC

2017-02-26 Thread Zefram
This problem no longer occurs. -zefram

Re: [perl #128511] [BUG] utf8-c8 generates spurious NUL

2017-02-26 Thread Zefram
This problem no longer occurs. -zefram

Re: Terminal::ANSIColor problem

2017-02-26 Thread ToddAndMargo
On 02/26/2017 06:44 PM, Brandon Allbery wrote: It should be the first, but it appears to be unimplemented at present. Only tagged imports work (https://docs.perl6.org/language/modules#Exporting_and_Selective_Importing). "Note there currently is no way for the user to import a single object if