"Christopher L. Everett" <[EMAIL PROTECTED]> writes:

> sub handler ($$) {
>   my ($self, $q);
> 
>   my $r = Apache::Request->new($q);
> 
>   # send headers here
> 
>   print $self->name;
          ^^^^^^^^^^^^
$self is a string ("simian"), not an object ref; for this 
line to work, you need to make one by calling "new" somewhere,
or guard against misuse via:

        print $self->name if ref $self;

HTH
-- 
Joe Schaefer

Reply via email to