NAME

Class::Factory::Util - Utility functions for (factory) classes

SYNOPSIS

use Class::Util;

My::Class->subclasses; 

DESCRIPTION

This module is part of an effort to take functionality within Alzabo which has general utility and make it available outside of the Alzabo framework.

FUNCTIONS

subclasses ($package_name)

Given a package name, finds the available subclasses for that package. It does this by looking for all files which are in directories below the directory of $package_name.

You should know that direct object syntax:

My::Package->subclasses;

actually sends in the package name and is thus the same as:

Class::Util::subclasses('My::Package');

AUTHOR

Dave Rolsky, <autarch@urth.org>.

Salvaged from the dumping grounds by Terrence Brannon, <tbone@cpan.org>.