On 02/26/2017 05:12 AM, yary wrote:

On Sun, Feb 26, 2017 at 7:13 AM, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:

    Undeclared routine:
        qw used at line 44

Use any other bracketing than parens, eg qw[a b c d]  or qw/a b c d/

Parens are used for calling subs/methods so qw(.. ... ...) means "call
the sub named qw"

Fixing that may make the rest work too!


Hi Yary,

Thank you!  I am slowly making the p5 to p6 transition!

But, still having an issue:

44:  use Terminal::ANSIColor qw[ BOLD BLUE RED GREEN RESET ];

# perl6 -c CimTrakCheckAndResatart.pl6
===SORRY!=== Error while compiling /home/linuxutil/CimTrakCheckAndResatart.pl6
Error while importing from 'Terminal::ANSIColor':
no EXPORT sub, but you provided positional argument in the 'use' statement
at /home/linuxutil/CimTrakCheckAndResatart.pl6:44
------> NSIColor qw[ BOLD BLUE RED GREEN RESET ]⏏;

Now what am I doing wrong?

Many thanks,

Computers are like air conditioners.
They malfunction when you open windows

Reply via email to