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

Need Inline::Perl5 help

2017-03-03 Thread ToddAndMargo
Hi All, I am trying to write myself an example of how to use Inline::Perl5 (yes, I know there is a way to write in color in Perl 6). I also have a low level test(.use), which I am not showing, as it works. I am doing this in an Xfce 4.12 (Linux) "Terminal". #!/usr/bin/perl6 use