Test::Magpie::Util(3)
π Test::Magpie::Util(3) π
okay so this is the User Contributed Perl Documentation page for Test::Magpie::Util, and itβs literally the internal utility functions for Test::Magpie. no cap, itβs giving backend-support-character energy π«Ά
β¨ NAME β¨
Test::Magpie::Util β internal utility functions for Test::Magpie. thatβs the whole name section, bestie π
π§ FUNCTIONS π§
π extract_method_name
$method_name = extract_method_name($full_method_name)
give it a fully qualified method name like Foo::Bar::baz, and it returns just the method name β in this example, baz. slay, name surgery β¨
π¦ get_attribute_value
$value = get_attribute_value($object, $attr_name)
gets the value of Moose attributes that have no accessors by accessing the class' underlying meta-object. yes, itβs going straight to the meta-object, iykyk π₯
πΈ has_caller_package
$bool = has_caller_package($package_name)
returns whether the given $package is in the current call stack. call-stack detective vibes β¨ not a guess, just a bool π
π match
$bool = match($a, $b)
matches 2 values for equality. two values, one equality check, periodt β
π 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. fr fr π«Ά
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. iconic open-source behavior π
mwah π signing off from the perl v5.42.0 edition, dated 2020-11-24 β catch u later, bestie π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-Magpie 0.11-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms