in reply to Re: Re: accessing subs/methods from the module
in thread accessing subs/methods from the module
if you change in the main program,
to$b->doSomething;
and$b->doSomething($f);
That should work for you.package Blah; sub doSomething { my $self = shift; my $f = shift; $f->methodX; } ...
|
|---|