provide 99-local.pl, fatal; fix substr usage, use Exporter, qw(), no imports