use Blah; use Foobar; $b = Blah->new(); $f = Foobar->new(); $x->doSomething; #### sub new { ... } sub doSomething { I want to access $f->some foobar method here }