in reply to Error with Win32::Console

Seems to me that you need to create a Win32::Console object first:

use Win32::Console; my $console = new Win32::Console || die "Couldn't create object: $!\n" +; my $attr = $console->Attr(); # ... do s'more stuff...

Replies are listed 'Best First'.
RE: RE: Error with Win32::Console
by CoadToad (Acolyte) on Oct 18, 2000 at 00:21 UTC
    Thanks. I knew it had to be something simple. I feel kinda stupid going back and looking at it now.

    Thanks again!
    ~CoadToad~