- or download this
package Exporter::End;
sub import {
...
}
1;
- or download this
package Foo::Bar::Baz;
use Exporter::End;
...
package main;
use Foo::Bar::Baz;
Baz::x(); # same as main::Baz::x();
- or download this
package Foo::Bar::Baz;
sub x {print 1};
...
package main;
use Exporter::End qw(Foo::Bar::Baz);
Baz::x(); # same as main::Baz::x();