use Foo; use Bar; $f = Foo->new; $b = Bar->new; $f->foo; $b->bar;