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 version 1.36
11
13 use Class::Inspector::Functions;
14 # Class::Inspector provides a non-polluting,
15 # method based interface!
16
17 # Is a class installed and/or loaded
18 installed( 'Foo::Class' );
19 loaded( 'Foo::Class' );
20
21 # Filename related information
22 filename( 'Foo::Class' );
23 resolved_filename( 'Foo::Class' );
24
25 # Get subroutine related information
26 functions( 'Foo::Class' );
27 function_refs( 'Foo::Class' );
28 function_exists( 'Foo::Class', 'bar' );
29 methods( 'Foo::Class', 'full', 'public' );
30
31 # Find all loaded subclasses or something
32 subclasses( 'Foo::Class' );
33
35 Class::Inspector::Functions is a function based interface of
36 Class::Inspector. For a thorough documentation of the available
37 functions, please check the manual for the main module.
38
39 Exports
40 The following functions are exported by default.
41
42 installed
43 loaded
44 filename
45 functions
46 methods
47 subclasses
48
49 The following functions are exported only by request.
50
51 resolved_filename
52 loaded_filename
53 function_refs
54 function_exists
55
56 All the functions may be imported using the ":ALL" tag.
57
59 <http://ali.as/>, Class::Handle, Class::Inspector
60
62 Original author: Adam Kennedy <adamk@cpan.org>
63
64 Current maintainer: Graham Ollis <plicease@cpan.org>
65
66 Contributors:
67
68 Tom Wyant
69
70 Steffen Müller
71
72 Kivanc Yazan (KYZN)
73
75 This software is copyright (c) 2002-2019 by Adam Kennedy.
76
77 This is free software; you can redistribute it and/or modify it under
78 the same terms as the Perl 5 programming language system itself.
79
80
81
82perl v5.34.0 2022-01-21 Class::Inspector::Functions(3)