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.
Other opinion (please explain)
Results (237 votes),