Debian Codegraph @

README

raw
1 NAME
2 Class::Factory::Util - Provide utility methods for factory classes
3
4 SYNOPSIS
5 package My::Class;
6
7 use Class::Factory::Util;
8
9 My::Class->subclasses;
10
11 DESCRIPTION
12 This module exports a method that is useful for factory classes.
13
14 USAGE
15 When this module is loaded, it creates a method in its caller named
16 "subclasses()". This method returns a list of the available subclasses
17 for the package. It does this by looking in @INC as well as the
18 directory containing the caller, and finding any modules in the
19 immediate subdirectories of the calling module.
20
21 So if you have the modules "Foo::Base", "Foo::Base::Bar", and
22 "Foo::Base::Baz", then the return value of "Foo::Base->subclasses()"
23 would be "Bar" and "Baz".
24
25 SUPPORT
26 Please submit bugs to the CPAN RT system at
27 http://rt.cpan.org/NoAuth/ReportBug.html?Queue=class-factory-util or via
28 email at [email protected].
29
30 AUTHOR
31 Dave Rolsky, <[email protected]>.
32
33 Removed from Alzabo and packaged by Terrence Brannon, <[email protected]>.
34
35 COPYRIGHT
36 Copyright (c) 2003-2007 David Rolsky. All rights reserved. This program
37 is free software; you can redistribute it and/or modify it under the
38 same terms as Perl itself.
39
40 The full text of the license can be found in the LICENSE file included
41 with this module.
42