Subject: | FIx to make IO::Socket work on BeOS |
IO::Socket gives this error on BeOS:
Your vendor has not defined Socket macro AF_UNIX, used at
/boot/home/config/lib/perl5/5.8.8/BePC-beos/IO/Socket/UNIX.pm line 18
The fix is in IO/Socket.pm at line 22.
Old code:
require IO::Socket::UNIX if ($^O ne 'epoc' && $^O ne 'symbian');
New code:
require IO::Socket::UNIX if ($^O ne 'epoc' && $^O ne 'symbian' && $^O ne
'beos');