http://qs321.pair.com?node_id=37221

CoadToad has asked for the wisdom of the Perl Monks concerning the following question:

I was messing around with the Win32::Console module and keep getting this error no matter what I try.

Error Message: Can't call method "Attr" on an undefined value at C:\test.pl line 2.

Code
use Win32::Console; $attr = $CONSOLE->Attr(); $CONSOLE->Attr($FG_YELLOW | $BG_BLUE);


I am taking this code directly from the CPAN site. And the module is installed.
I am using Activeperl.

Any help would be appreciated.

~CoadToad~