Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Class::Inspector::Functions - Get information about a class and its structure

Author

Original author: Adam Kennedy <adamk@cpan.org> Current maintainer: Graham Ollis <plicease@cpan.org> Contributors: Tom Wyant Steffen Müller Kivanc Yazan (KYZN)

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.

Name

Class::Inspector::Functions - Get information about a class and its structure

See Also

<http://ali.as/>, Class::Handle, Class::Inspector

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' );

Version

version 1.36

See Also