in reply to package new

use ESP;
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).

Replies are listed 'Best First'.
Re^2: package new
by Anonymous Monk on May 30, 2013 at 13:53 UTC
    The package code looks like the following:
    package Dir::Pkg; use strict; use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION); require Exporter; @ISA = qw(Exporter); @EXPORT = qw(sub1 sub2); $VERSION = 1.00; use SomeOtherModule; sub1 { } sub2 { }

    I cannot see any other sub classing. Let me check if I am missing something.

    Thanks