Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Class::Inspector::Functions

Name Class::Inspector::Functions
Version 1.36
Located at /usr/local/share/perl5
File /usr/local/share/perl5/Class/Inspector/Functions.pm
Is Core No
Search CPAN for this module Class::Inspector::Functions
Documentation Class::Inspector::Functions
Module Details Class::Inspector::Functions


NAME

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


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 the Class::Inspector manpage. 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.


SEE ALSO

http://ali.as/, the Class::Handle manpage, the Class::Inspector manpage


AUTHOR

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

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

Contributors:

Tom Wyant

Steffen Müller

Kivanc Yazan (KYZN)


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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024