use Foobar; sub doSomething { Foobar::some_method(); }