Date: | Thu, 28 Aug 2003 02:27:42 -0400 |
From: | Rocco Caputo <rcaputo [...] pobox.com> |
To: | bug-POE [...] rt.cpan.org |
Subject: | Your vendor has not defined POSIX macro B38400 |
[Forwarded from PerlMonks]
Re: An introduction to POE
by NetWallah on Aug 10, 2003 at 07:14
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:
Show quoted text
>perl poetest.pl
Your vendor has not defined POSIX macro B38400, used at
D:/Perl/site/lib/POE/Whe
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;
--
Rocco Caputo - rcaputo@pobox.com - http://poe.perl.org/