On 28-Apr-2005 Jonathan Gill wrote:
> Im trying to use a POE::Component::TCP::Client to send a single line to
> a server (on a remote machine)
> 
> I send the message with a 
> $heap{server}->put($mymessage);
> 
> Sometimes it works fine, others it throws the following error
> 
> Pseudo-hashes are deprecated at tester line 467
> No such pseudo-hash field "server" at tester line 467.
> 
> Anyone any ideas?

$heap is generaly a hashref.  That line should be
        $heap->{searver}->put($mymessage);

or do you do %heap=%$heap at some point?

-Philip

Reply via email to