in reply to Re^3: getting a list of all subclasses of base class x
in thread getting a list of all subclasses of base class x
Still not perfect: @subclasses lives inside the BEGIN block only :)
my @subclasses; BEGIN { @subclasses = Class::MOP::Class->initialize('x')->subclasses }
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Io ho capito... ma tu che hai detto?
In Section
Seekers of Perl Wisdom