in reply to Calling module function from within a blessed module
Since both do_something and do_more appear to be methods, since they both take $self as their first argument, then you probably should always call them as such.
sub do_more { my $self = shift; return $self->do_something('example'); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calling module function from within a blessed module
by Bod (Parson) on Jan 02, 2021 at 15:48 UTC |