
Exporter::lite is an alternative to exporter, intended to provide a lightweight subset of the most commonly-used functionality. it supports import(), @export and @export_ok and not a whole lot else.
unlike exporter, it is not necessary to inherit from exporter::lite (ie. no @isa = qw(exporter::lite) mantra). exporter::lite simply exports its import() function into your namespace. this might be called a "mix-in" or a "role".
setting up a module to export its variables and functions is simple:
package my::module;
use exporter::lite;
@export = qw($foo bar);
functions and variables listed in the @export package variable are automatically exported if you use the module and don't explicitly list any imports. now, when you use my::module, $foo and bar() will show up.