Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: how to make LWP calls compatible with forked script

by iburrell (Chaplain)
on Sep 03, 2004 at 16:57 UTC ( [id://388343] : note . print w/replies, xml ) Need Help??


in reply to Re^2: how to make LWP calls compatible with forked script
in thread how to make LWP calls compatible with forked script

It might be a bug in ActivePerl. Perl on Windows does some special stuff to provide the Unix API on Windows which does things differently. For example, fork() is emulated with threads, and sockets need to be mapped to WinSock API.

I know there were some bugs in earlier releases of ActivePerl 5.6. Make sure you have the most recent release. ActivePerl 5.8 is supposed to be better; try that if you can. Finally, what Windows version are you running? The NT-based ones (NT 4, 2000, XP) are more stable than 95, 98, ME.

  • Comment on Re^3: how to make LWP calls compatible with forked script

Replies are listed 'Best First'.
Re^4: how to make LWP calls compatible with forked script
by piyush.shourie (Beadle) on Sep 08, 2004 at 12:00 UTC
    Actually I cant change the version of Perl. Got to use the ActivePerl 5.6.

    The platform is Windows 2000. One thing to note is that the same script runs fine on Solaris. Is there a way to rectify the behaviour on Windows platform?