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 PrintColors :PrintBlue at line 1 in:



What did I do wrong, this time?

Many thanks,
-T

Reply via email to