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 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-Inspector>
60
61 For other issues, or commercial enhancement or support, contact the
62 author.
63
65 Adam Kennedy <adamk@cpan.org>
66
67 Steffen Mueller <smueller@cpan.org>
68
70 <http://ali.as/>, Class::Handle
71
73 Copyright 2002 - 2009 Adam Kennedy.
74
75 Class::Inspector::Functions copyright 2008 - 2009 Steffen Mueller.
76
77 This program is free software; you can redistribute it and/or modify it
78 under the same terms as Perl itself.
79
80 The full text of the license can be found in the LICENSE file included
81 with this module.
82
83
84
85perl v5.12.1 2009-04-20 Class::Inspector::Functions(3)