in reply to Object method in wrong namespace
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Object method in wrong namespace
by Bod (Parson) on Feb 28, 2022 at 23:39 UTC | |
by LanX (Saint) on Mar 01, 2022 at 00:41 UTC |