NAME

Test::Magpie::Util - Utilities used by Test::Magpie

FUNCTIONS

extract_method_name

    $method_name = extract_method_name($full_method_name)

Internal. From a fully qualified method name such as Foo::Bar::baz, will return just the method name (in this example, baz).

has_caller_package

    $bool = has_caller_package($package_name)

Internal. Returns whether the given $package is in the current call stack.

get_attribute_value

    $value = get_attribute_value($object, $attr_name)

Internal. Gets value of Moose attributes that have no accessors by accessing the class' underlying meta-object.

match

Internal. Match 2 values for equality

AUTHORS

  • Oliver Charles <oliver.g.charles@googlemail.com>

  • Steven Lee <stevenwh.lee@gmail.com>

COPYRIGHT AND LICENSE

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.