Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^4: Creating Win32 User Interfaces with Perl

by JamesNC (Chaplain)
on Jul 07, 2004 at 03:43 UTC ( #372265=note: print w/replies, xml ) Need Help??

in reply to Re^3: Creating Win32 User Interfaces with Perl
in thread Creating Win32 User Interfaces with Perl

Wrong, wrong, wrong. The poster specifically said he was using XP. These modules are not for the console that ships with NT2K and XP (cmd.exe) and only partially works with that is also included (None of the ANSI color stuff, and only limited things work on the Console) . The last time the Win32::Console was updated was in 2002. I don't know why folks assume that because it worked on 95/98 that it just works on NT/XP, in this case it doesn't. The Win32::Console::ANSI docs even tell you it specifically doesn't work on NT2K and XP on the link provided above.

Update: I was Wrong Wrong Wrong!;-)
I downloaded and built these modules (Win2K AS Perl 5.3) after the post from gellyfish ( I had previously installed from PPM repository ), and this time it bingo. I stand corrected this works. I am going to be a lot more careful about just assuming the PPM build is OK in the future. Thank you gellyfish++ !
  • Comment on Re^4: Creating Win32 User Interfaces with Perl

Replies are listed 'Best First'.
Re^5: Creating Win32 User Interfaces with Perl
by gellyfish (Monsignor) on Jan 12, 2005 at 15:22 UTC

    Sorry, I think you have read the comment in Win32::Console::ANSI incorrectly - quote here in full:

    Windows NT/2000/XP does not support ANSI escape sequences in Win32 Console applications. This module emulates an ANSI console for the script which uses it.
    The module is explicitly designed to provide the ANSI console facility on those newer versions of Windows that do not support it. I have tested this and screenshot can be seen here.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372265]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2020-08-03 13:11 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (27 votes). Check out past polls.