my ($class, $blog, $vars) = @_;
instead of
> my ($class, $blog, $vars);
:)
PS: shouldn't
return $self->{'heading'};
rather be
return $self->{vars}{'heading'};
?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Object method in wrong namespace
by LanX
in thread Object method in wrong namespace
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |