Class::...unctions(3)

🌸 NAME 🌸

okay so this manual page is Class::...unctions(3) from User Contributed Perl Documentation, and it's literally about Class::Inspector::Functions β€” get information about a class and its structure. πŸ’…βœ¨

✨ VERSION ✨

version 1.36 πŸŽ€ β€” that's the vibe check.

πŸ¦‹ SYNOPSIS πŸ¦‹

bestie, here's the exact run-down, no cap:

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 β€” that's where the full lore lives. 🫢

🎁 Exports 🎁

The following functions are exported by default.

  • installed
  • loaded
  • filename
  • functions
  • methods
  • subclasses

The following functions are exported only by request. You gotta ask for these divas:

  • resolved_filename
  • loaded_filename
  • function_refs
  • function_exists

All the functions may be imported using the :ALL tag. Lowkey convenient, fr fr. πŸ’…

🌈 SEE ALSO 🌈

Go peek at <http://ali.as/>, Class::Handle, and Class::Inspector. iykyk πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

  • Original author: Adam Kennedy <adamk@cpan.org>
  • Current maintainer: Graham Ollis <plicease@cpan.org>

Contributors:

  • Tom Wyant
  • Steffen MΓΌller
  • Kivanc Yazan (KYZN)

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. Slay. 🌈


πŸ’Œ tiny footer sign-off: this page is from perl v5.42.0, dated 2019-07-21, and it's the Class::...unctions(3) manual. Byeee bestie, go inspect some classes πŸ’…βœ¨

πŸ“¦ where this page comes from