Quoth Jeff Konz <[EMAIL PROTECTED]>, on 2004-09-22 20:50:47 -0500:
> When I have this in a subroutine: 
> 
> sub parse {
>     my $heap = $_[HEAP];
>     my $cdr_line = $_[ARG0];
>     print "Input Seen:  $line\n";
>     $heap->{client}->put($line);
> }
> 
> I get the following message:
> 
> Can't call method "put" on an undefined value at tail_poe.pl line 66

Well, it looks like $heap->{client} is probably undef, then?  Where
are you setting it to the relevant wheel or other object?

   ---> Drake Wilson

Attachment: signature.asc
Description: Digital signature

Reply via email to