perlquestion
CoadToad
I was messing around with the Win32::Console module and keep getting this error no matter what I try.<BR><BR>
<I>Error Message</I><CODE>: Can't call method "Attr" on an undefined value at C:\test.pl line 2.</CODE><BR><BR>
<I>Code</I><CODE>use Win32::Console;
$attr = $CONSOLE->Attr();
$CONSOLE->Attr($FG_YELLOW | $BG_BLUE);
</CODE><BR><BR>
I am taking this code directly from the CPAN site. And the module is installed.<BR> I am using Activeperl.<BR><BR>
Any help would be appreciated.<BR><BR>
~CoadToad~