Class::Factory::Util(3) User Contributed Perl Documentation Class::Factory::Util(3)NAME
Class::Factory::Util - Provide utility methods for factory classes
SYNOPSIS
package My::Class;
use Class::Factory::Util;
My::Class->subclasses;
DESCRIPTION
This module exports a method that is useful for factory classes.
USAGE
When this module is loaded, it creates a method in its caller named "subclasses()". This method returns a list of the available subclasses
for the package. It does this by looking in @INC as well as the directory containing the caller, and finding any modules in the immediate
subdirectories of the calling module.
So if you have the modules "Foo::Base", "Foo::Base::Bar", and "Foo::Base::Baz", then the return value of "Foo::Base->subclasses()" would be
"Bar" and "Baz".
SUPPORT
Please submit bugs to the CPAN RT system at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=class-factory-util or via email at
bug-class-factory-util@rt.cpan.org.
AUTHOR
Dave Rolsky, <autarch@urth.org>.
Removed from Alzabo and packaged by Terrence Brannon, <tbone@cpan.org>.
COPYRIGHT
Copyright (c) 2003-2007 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.10.0 2008-05-12 Class::Factory::Util(3)
Check Out this Related Man Page
Class::Inspector::Functions(3) User Contributed Perl Documentation Class::Inspector::Functions(3)NAME
Class::Inspector::Functions - Get information about a class and its structure
SYNOPSIS
use Class::Inspector::Functions;
# Class::Inspector provides a non-polluting,
# method based interface!
# Is a class installed and/or loaded
installed( 'Foo::Class' );
loaded( 'Foo::Class' );
# Filename related information
filename( 'Foo::Class' );
resolved_filename( 'Foo::Class' );
# Get subroutine related information
functions( 'Foo::Class' );
function_refs( 'Foo::Class' );
function_exists( 'Foo::Class', 'bar' );
methods( 'Foo::Class', 'full', 'public' );
# Find all loaded subclasses or something
subclasses( 'Foo::Class' );
DESCRIPTION
Class::Inspector::Functions is a function based interface of Class::Inspector. For a thorough documentation of the available functions,
please check the manual for the main module.
Exports
The following functions are exported by default.
installed
loaded
filename
functions
methods
subclasses
The following functions are exported only by request.
resolved_filename
loaded_filename
function_refs
function_exists
All the functions may be imported using the ":ALL" tag.
SUPPORT
Bugs should be reported via the CPAN bug tracker
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-Inspector>
For other issues, or commercial enhancement or support, contact the author.
AUTHOR
Adam Kennedy <adamk@cpan.org>
Steffen Mueller <smueller@cpan.org>
SEE ALSO
<http://ali.as/>, Class::Handle
COPYRIGHT
Copyright 2002 - 2012 Adam Kennedy.
Class::Inspector::Functions copyright 2008 - 2009 Steffen Mueller.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.16.3 2012-10-19 Class::Inspector::Functions(3)
First of all, this review (my observations) of a Koh Tao dive factory, or my experience there, is only based on one dive center. It certainly is not written to imply other, any or all dive centers on Koh Tao are like this. I cannot be the judge of that. Unfortunately, this experience has... (0 Replies)
Ive been trying to move to Perl. It has been a struggle.
My question is, is there a good resource that explains nesting statements.
As an example.
To change
primary
Factory CTS 1.9.0(46) P1
*Slot 1 CTS 1.10.2(42) P1
To
primary *Slot 1 CTS 1.10.2(42) P1
... (5 Replies)