|Subject:||Missing "require Exporter;" in Encode::Detect::Detector|
If you run test2.pl you will see that Perl can't find Exporter. You must add "require Exporter;" to the module (I added it before the @ISA) but I'm not sure if it matters where. See the docs on Exporter for more info.
#!/usr/local/bin/perl -w use strict; use warnings; use Encode::Detect::Detector; exit 0;