Scroll to navigation

Test::Moose::More::Utils(3pm) User Contributed Perl Documentation Test::Moose::More::Utils(3pm)

NAME

Test::Moose::More::Utils - Various utility functions for TMM (and maybe others!)

VERSION

This document describes version 0.050 of Test::Moose::More::Utils - released September 20, 2017 as part of Test-Moose-More.

FUNCTIONS

get_mop_metaclass_for $mop => $meta

Given a MOP name (e.g. attribute), rummage through $meta (a metaclass) to reveal the MOP's metaclass.

e.g.

    get_metaclass_for attribute => __PACKAGE__->meta;

known_sugar

Returns a list of all the known standard Moose sugar (has, extends, etc).

SEE ALSO

Please see those modules/websites for more information related to this module.

  • Test::Moose::More

  • -- for much of the "find the metaclass for X mop" code

BUGS

Please report any bugs or feature requests on the bugtracker website <https://github.com/RsrchBoy/Test-Moose-More/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Chris Weyl <cweyl@alumni.drew.edu>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017, 2016, 2015, 2014, 2013, 2012 by Chris Weyl.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Nested L<> are illegal. Pretending inner one is X<...> so can continue looking for other errors.

Nested L<> are illegal. Pretending inner one is X<...> so can continue looking for other errors.

2022-10-14 perl v5.34.0