That script seems to work and use the Exporter in my projects lib directory. I'm not sure why but I was using:
use strict;
use warnings;
use lib qw{./lib};
print "Email::Date::Format: ", $Email::Date::Format::VERSION;
print "Exporter: ", $Exporter::VERSION;
which did not work. Simply moving the use warnings; to the end does work.
use strict;
use lib qw{./lib};
use warnings;
print "Email::Date::Format: ", $Email::Date::Format::VERSION;
print "Exporter: ", $Exporter::VERSION;
Apparently there is a special order to for "use" which I did not know about. |