Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Calling module function from within a blessed module

by 1nickt (Canon)
on Jan 02, 2021 at 15:39 UTC ( [id://11126142]=note: print w/replies, xml ) Need Help??


in reply to Calling module function from within a blessed module

Hi,

Since this is an object class:

sub do_more { my $self = shift; return $self->do_something('example'); }

Hope this helps!


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Calling module function from within a blessed module
by Bod (Parson) on Jan 02, 2021 at 15:49 UTC
    Hope this helps!

    That helps tremendously thank you.
    The 'nicer' way is obvious after it has been demonstrated.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126142]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found