|Think about Loose Coupling|
POE method problem (building applications with POE)by Orchid_NL (Novice)
|on Dec 31, 2004 at 11:36 UTC||Need Help??|
Orchid_NL has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to get the hang of POE and followed this tutorial on perl.com: Building Applications with POE.
Problem is when I try the code used in the tutorial (copy & past, the download doesn't work) it only works partially.
The TCP-server starts up, accepts connections but after entering a test string ('foo=bar&quux=perl') and hitting enter it stops with this failure message:
Problem is the method put is called with a defined value, Data Dumper gives this:
Code snippet (line 110 is the $_HEAP part)
Complete code can be found here: Orchid's scratchpad
Help much appreciated (if you need more information let me know!).