The /r modifier on s/// in Perl5 is S/// in Perl6.
Though you have to put it into a block lambda, otherwise it applies to
$_ before it gets a chance to be passed to map.
$*ARGFILES
. lines
. grep( / ^ + $ / )
. map( {S/^/ * /} )
. map(&other-things-to-do)
. map(&sa
hello,
On Tue, Jun 11, 2019 at 08:26:11AM -0500, Brad Gilbert wrote:
> The /r modifier on s/// in Perl5 is S/// in Perl6.
oops .. it was the section just after s/// :( thanks for pointing out.
> Though you have to put it into a block lambda, otherwise it applies to
> $_ before it gets a chance t
Hi All,
I need one liner help importing a module sub
This works:
perl6 -e 'use lib "/home/linuxutil/p6lib"; use PrintColors :PrintBlue;
PrintBlue( "Blue\n" );'
Blue
This does not:
perl6 -I /home/linuxutil/p6lib -M "PrintColors :PrintBlue" -e
'PrintBlue( "Blue\n" );'
Could not find Pri
> On Jun 11, 2019, at 5:39 PM, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> I need one liner help importing a module sub
>
> This works:
>
> perl6 -e 'use lib "/home/linuxutil/p6lib"; use PrintColors :PrintBlue;
> PrintBlue( "Blue\n" );'
>
> Blue
>
>
>
> This does not:
>
> p
On 6/11/19 9:11 PM, Bruce Gray wrote:
On Jun 11, 2019, at 5:39 PM, ToddAndMargo via perl6-users
wrote:
Hi All,
I need one liner help importing a module sub
This works:
perl6 -e 'use lib "/home/linuxutil/p6lib"; use PrintColors :PrintBlue; PrintBlue(
"Blue\n" );'
Blue
This does not: