in reply to Re: Re: accessing subs/methods from the module
in thread accessing subs/methods from the module

I think it's very simple:

if you change in the main program,

$b->doSomething;
to
$b->doSomething($f);
and
package Blah; sub doSomething { my $self = shift; my $f = shift; $f->methodX; } ...
That should work for you.

artist