in reply to
An introduction to POE
I'm having trouble getting this sample POE code to work under Win32 (XP) with Activestate Perl 5.8.0.
I have installed the POE, TermReadKey, and Term-Cap modules. Here is the error I get:
Your vendor has not defined POSIX macro B38400, used at D:/Perl/site/l
el/ReadLine.pm line 89
Compilation failed in require at (eval 31) line 1.
BEGIN failed--compilation aborted at (eval 31) line 1.
could not import qw(Wheel::ReadLine) at poetest.pl line 5
BEGIN failed--compilation aborted at poetest.pl line 5.
E:\Documents and Settings\vijay\test>perl -v
Seems like I may need to install Cygwin. But I'm curious as to what this macro at line 89 is, and if there is a workaround for Win32 - here is the relevant code from the ReadLine.pm module:
Line 12: use POSIX qw(B38400);
Line 88: # Get the terminal speed for Term::Cap.
my $ospeed = B38400;