info > Class::Inspector::Functions

🏷️ NAME

Class::Inspector::Functions β€” Get information about a class and its structure

πŸš€ Quick Reference

Use CaseCommandDescription
Check if class is installedinstalled('Foo::Class')Returns true if the class is installed on the system
Check if class is loadedloaded('Foo::Class')Returns true if the class is already loaded in memory
Get class filenamefilename('Foo::Class')Returns the filesystem path to the class module
Get resolved filenameresolved_filename('Foo::Class')Returns the full resolved path to the class file
List all functionsfunctions('Foo::Class')Returns list of function names defined in the class
List methodsmethods('Foo::Class', 'full', 'public')Returns list of methods, filtered by type/visibility
Check function existencefunction_exists('Foo::Class', 'bar')Checks if a specific function exists in the class
Find loaded subclassessubclasses('Foo::Class')Returns all loaded subclasses of the given class

πŸ“¦ VERSION

version 1.36

πŸ“‹ 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:

The following functions are exported only by request:

All the functions may be imported using the :ALL tag.

πŸ”— SEE ALSO

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

πŸ‘€ AUTHOR

Original author: Adam Kennedy <adamk AT cpan.org>

Current maintainer: Graham Ollis <plicease AT cpan.org>

Contributors:

πŸ“„ COPYRIGHT AND LICENSE

This software is copyright (c) 2002-2019 by Adam Kennedy.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Class::Inspector::Functions
🏷️ NAME πŸš€ Quick Reference πŸ“¦ VERSION πŸ“‹ SYNOPSIS πŸ“– DESCRIPTION
πŸ“€ Exports
πŸ”— SEE ALSO πŸ‘€ AUTHOR πŸ“„ COPYRIGHT AND LICENSE

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-24 23:57 @216.73.216.179
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!