Hey all. I'm using 5.6.1r1 and having an issue with HTTP::Daemon. Take a
look at this module, AmphetaDesk::Webserver, which subclasses HTTP::Daemon:

 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/amphetadesk/AmphetaDesk/
 lib/AmphetaDesk/WebServer.pm?rev=1.3&content-type=text/vnd.viewcvs-markup

You'll notice a start_webserver routine - the contents of that routine used
to be in AmphetaDesk.pm (the caller of AmphetaDesk::Webserver). My problem
is:

 - this code runs fine on Windows and OS X.
 - this code does not work on Mac Classic.
 - if I take the contents of start_webserver and
   stick it back into AmphetaDesk.pm, everything
   works as expected under Mac Classic.
 - the object being returned from start_webserver
   seems to be the same as the object being created
   by inline code (as per a Data::Dumper dump).

Any ideas on why this won't work? When I run the code with start_webserver,
the webserver is created fine, but no ->accept's ever happen.

-- 
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Tech: http://www.oreillynet.com/pub/au/779 - articles and weblog
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Reply via email to