package Foo::Bar::Baz; use Exporter::All; sub x {print 1}; # ... package main; use Foo::Bar::Baz; x();