1Class::Inspector::FunctUisoenrs(C3o)ntributed Perl DocumCelnatsast:i:oInnspector::Functions(3)
2
3
4
6 Class::Inspector::Functions - Get information about a class and its
7 structure
8
10 use Class::Inspector::Functions;
11 # Class::Inspector provides a non-polluting,
12 # method based interface!
13
14 # Is a class installed and/or loaded
15 installed( 'Foo::Class' );
16 loaded( 'Foo::Class' );
17
18 # Filename related information
19 filename( 'Foo::Class' );
20 resolved_filename( 'Foo::Class' );
21
22 # Get subroutine related information
23 functions( 'Foo::Class' );
24 function_refs( 'Foo::Class' );
25 function_exists( 'Foo::Class', 'bar' );
26 methods( 'Foo::Class', 'full', 'public' );
27
28 # Find all loaded subclasses or something
29 subclasses( 'Foo::Class' );
30
32 Class::Inspector::Functions is a function based interface of
33 Class::Inspector. For a thorough documentation of the available
34 functions, please check the manual for the main module.
35
36 Exports
37 The following functions are exported by default.
38
39 installed
40 loaded
41 filename
42 functions
43 methods
44 subclasses
45
46 The following functions are exported only by request.
47
48 resolved_filename
49 loaded_filename
50 function_refs
51 function_exists
52
53 All the functions may be imported using the ":ALL" tag.
54
56 Bugs should be reported via the CPAN bug tracker
57
58 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-Inspector>
59
60 For other issues, or commercial enhancement or support, contact the
61 author.
62
64 Adam Kennedy <adamk@cpan.org>
65
66 Steffen Mueller <smueller@cpan.org>
67
69 <http://ali.as/>, Class::Handle
70
72 Copyright 2002 - 2012 Adam Kennedy.
73
74 Class::Inspector::Functions copyright 2008 - 2009 Steffen Mueller.
75
76 This program is free software; you can redistribute it and/or modify it
77 under the same terms as Perl itself.
78
79 The full text of the license can be found in the LICENSE file included
80 with this module.
81
82
83
84perl v5.16.3 2012-10-19 Class::Inspector::Functions(3)