Test::Magpie::Util - Internal utility functions for Test::Magpie
$method_name = extract_method_name($full_method_name)
From a fully qualified method name such as Foo::Bar::baz, will return just the method name (in this example, baz).
$value = get_attribute_value($object, $attr_name)
Gets value of Moose attributes that have no accessors by accessing the class' underlying meta-object.
$bool = has_caller_package($package_name)
Returns whether the given $package is in the current call stack.
$package
$bool = match($a, $b)
Match 2 values for equality.
Oliver Charles <oliver.g.charles@googlemail.com>
Steven Lee <stevenwh.lee@gmail.com>
This software is copyright (c) 2013 by Oliver Charles.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Magpie
CPAN shell
perl -MCPAN -e shell install Test::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.