http://qs321.pair.com?node_id=287261


in reply to Re: An introduction to POE
in thread An introduction to POE

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

The B38400 constant is exported by the standard POSIX module. It represents 38400 baud terminal rates, the fastest available under POSIX. Windows doesn't use standard terminals, so B38400 is useless in ActivePerl. Unfortunately, ActivePerl doesn't support B38400 with a dummy value, so code relying on it breaks there.

The problem is easy enough to work around if the author knows about it. Just check $^O eq 'MSWin32' and either avoid B38400 altogether or define a dummy version of it so the code continues on.

Check rt.cpan.org for an effective way to report bugs in CPAN distributions.

-- Rocco Caputo - rcaputo@pobox.com - poe.perl.org