Hi,

Not too sure if this is mildly off topic, so please let me know if it is... 

I have a piece of software using POE's Ping.pm component, etc... 

It is essentially a daemon.

It works for about 10-15 days before it dies with this the following:

Use of uninitialized value in subroutine entry at 
/usr/local/lib/perl5/site_perl/5.8.8/POE/Component/Client/Ping.pm line 409.
Can't use string ("") as a subroutine ref while "strict refs" in use at 
/usr/local/lib/perl5/site_perl/5.8.8/POE/Component/Client/Ping.pm line 409.

  # Duplicate pings?  Forcibly time out the previous one.
  if (exists $heap->{addr_to_seq}->{$sender}->{$address}) {
    my $now = time();
    my $old_seq = delete $heap->{addr_to_seq}->{$sender}->{$address};
    my $old_info = delete $heap->{ping_by_seq}->{$old_seq};
    $old_info->[PBS_POSTBACK]->( undef, undef, $now, undef ); # <--- 409.
  }

Any help appreciated. I'm sure the developer behind Ping.pm would appreciate
a fix for this, I'm just not sure how to even begin to fix this problem.

-- 
Omina Solutions  | http://omina.co.za | (012) Ph. 664-2480 F. 664-2474 

Attachment: pgp1e8XlL4P3A.pgp
Description: PGP signature

Reply via email to