Re: I need one liner module import help

2019-06-12 Thread ToddAndMargo via perl6-users
On 6/12/19 2:51 PM, Tom Browder wrote: I think you will have to file a Rakudo issue. Do you have a link to them?

Re: I need one liner module import help

2019-06-12 Thread Tom Browder
On Wed, Jun 12, 2019 at 16:12 ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > Hi Bruce, > > This has to do with the way I am importing subs from modules. > > When importing subs, I like to declare which subs I > am importing. Otherwise my code is a nightmare to maintain. > "Where th

Re: I need one liner module import help

2019-06-12 Thread ToddAndMargo via perl6-users
Hi Bruce, This has to do with the way I am importing subs from modules. When importing subs, I like to declare which subs I am importing. Otherwise my code is a nightmare to maintain. "Where the heck did that subs comes from? Is its a system subs or " For instance, in Perl 5: use Te

Re: replace s///r ?

2019-06-12 Thread William Michels via perl6-users
Thank you Yary. It's not often I have to prepend a "4" to a mixed list items of containing numbers, but your code is perfect for extracting the numbers and prepending a dollar sign ($): > .say for (325, '44a', 555, 6).grep(/^\d+$/).map( '$' ~ * ) $325 $555 $6 Best Regards, Bill. On Mon, Jun

Re: I need one liner module import help

2019-06-12 Thread Bruce Gray
> On Jun 12, 2019, at 1:22 AM, ToddAndMargo via perl6-users > wrote: —snip-- > $ perl6 -I /home/linuxutil/p6lib -M PrintColors::PrintBlue -e 'PrintBlue( > "Blue\n" );' > ===SORRY!=== > Could not find PrintColors::PrintBlue at line 1 in: I see that I introduced a point of confusion. In Perl