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" cli

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 = colo

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 Term::ANSIColor:from

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 = Term::