<?xml version="1.0" encoding="windows-1252"?>
<node id="282633" title="Re: An introduction to POE" created="2003-08-10 11:14:12" updated="2005-07-25 10:53:57">
<type id="11">
note</type>
<author id="159887">
NetWallah</author>
<data>
<field name="doctext">
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:
&lt;code&gt;
  &gt;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&gt;perl -v

&lt;/code&gt;
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:
&lt;code&gt;
Line 12: use POSIX qw(B38400);
Line 88: # Get the terminal speed for Term::Cap.
         my $ospeed = B38400; 
&lt;/code&gt;
</field>
<field name="root_node">
282468</field>
<field name="parent_node">
282468</field>
</data>
</node>
