On 02/26/2017 06:02 PM, Brandon Allbery wrote:

On Sun, Feb 26, 2017 at 8:14 PM, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:

    Speaking of syntax errors, what is wrong with these
    two lines (not used a the same time)?

    use Terminal::ANSIColor qw[ color ];
    use Terminal::ANSIColor::color;


The first one attempts to import a symbol "color" from the module
"Terminal::ANSIColor".
The second attempts to import all (or default export) symbols from the
module "Terminal::ANSIColor::color", which doesn't exist.

Neither work.  What would the proper syntax be?

Reply via email to