"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
- Re: Repost with typos corrected--Instance variable inheri... Joe Schaefer
- Re: Repost with typos corrected--Instance variable i... Ken Williams
- Re: Repost with typos corrected--Instance variab... Vasily Petrushin
- Re: Repost with typos corrected--Instance va... Ken Williams