Running win2k and Activestate perl 5.6.1 build 631

I've downloaded the latest POE from sourceforge following the ppm instructions

and I'm trying to run the http://poe.perl.org/?POE_Cookbook/Web_Server script as a test and to gan experience with POE

Unfortunately I get this error:

POE::Component::Server::TCP->new() needs an Acceptor parameter at C:\perl\bin\pws.pl line 61

which seesm to be reasonable from my POE documentation which says that the syntax is:
POE::Component::Server::TCP->new
( Port => $bind_port,
Address => $bind_address, # Optional.
Acceptor => \&accept_handler,
Error => \&error_handler, # Optional.
);

So here are my dumb questions:
1) did I cock up my ppm install so that I don't actually have the latest POE
1a) If so how can I tell what is the version of POE i'm running?
2) Assuming I do have the latest POE has the syntax been drastically changed or is his a simple change?

Thanks for all help

Francis

--
Francis Turner, CIO Juelich Enzyme Products GmbH
[EMAIL PROTECTED] - http://www.biocatalysis.com
+49-611-962-4693(office) +49-173-291-7278(cell)

Enzymes are things invented by biologists that explain things which
otherwise require harder thinking. -- Jerome Lettvin

Reply via email to