Re: Need Inline::Perl5 help

2017-03-05 Thread ToddAndMargo
Followup, This is my notes on Inline::Perl5. I hope this is useful to others. -T #!/usr/bin/perl6 # Inline::Perl5 test # Reference: https://github.com/niner/Inline-Perl5/commit/cc683dae98df19db8cfbb551f7a87ef79bdc2a8b use Inline::Perl5; use Term::ANSIColor:from; # my $Red =

Re: Need Inline::Perl5 help

2017-03-05 Thread ToddAndMargo
On 03/05/2017 09:05 PM, Brock Wilcox wrote: Looks like Term::ANSIColor does weird things with exported constants -- they are some sort of constant-function rather than simple strings. Here is an alternate usage that does what you want: #!/usr/bin/perl6 use Inline::Perl5; use

Re: Need Inline::Perl5 help

2017-03-05 Thread Brock Wilcox
Looks like Term::ANSIColor does weird things with exported constants -- they are some sort of constant-function rather than simple strings. Here is an alternate usage that does what you want: #!/usr/bin/perl6 use Inline::Perl5; use Term::ANSIColor:from ; my $Red = color('red'); my $Reset =

Re: clipboard and ps questions?

2017-03-05 Thread ToddAndMargo
On 02/17/2017 06:38 PM, ToddAndMargo wrote: 1) Is there a reliably Perl 6 way to copy things to the clipboard? (Perl 5 has a module, but it is unreliable and I have to make a system call.) In Linux, OS::Clipboard is using xclip and is writing to the "mouse over" and "center click"

[perl #130924] [BUG] wrong results for huge double-roped strings

2017-03-05 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130924] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130924 > Expected proper char count or an exception: 16:29 IOninja m: (("a" x 100) x

[perl #130923] [BUG] diacritics on Format characters

2017-03-05 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #130923] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130923 > > "\x[200b,308]".chars 1 Here I've put an umlaut on a zero-width space, making a single

[perl #130922] [BUG] grapheme cluster doesn't include Indic prefixed consonants

2017-03-05 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #130922] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130922 > > "\x[111c2,111c4]".chars 2 The above is erroneous: these two codepoints make up a single