Last Updated: February 25, 2016
·
542
· bor

Get version for 'parent/base' class

(without to know of 'parent' class name)

do { no strict; ${__PACKAGE__.'::ISA'}[0]->VERSION() }

or

do { no strict; ${"${class}::ISA"}[0]->VERSION() }