Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: getting a list of all subclasses of base class x

by polettix (Vicar)
on Jul 09, 2008 at 16:20 UTC ( #696491=note: print w/ replies, xml ) Need Help??


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?


Comment on Re^4: getting a list of all subclasses of base class x
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://696491]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2015-07-05 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls