in reply to
new is probably being created by something like Moose, Moo (an OO framework), or something declared to be the superclass of Dir::Pkg with parent or base (or maybe @ISA).
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
@ISA = qw(Exporter);
@EXPORT = qw(sub1 sub2);
$VERSION = 1.00;
I cannot see any other sub classing. Let me check if I am missing something.
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (253 votes),