Test2::Util::Stash(3) | Perl Programmers Reference Guide | Test2::Util::Stash(3) |
Test2::Util::Stash - Utilities for manipulating stashes and globs.
This is a collection of utilities for manipulating and inspecting package stashes and globs.
$symbol can be a simple name, or a fully qualified symbol name. The sigil is optional, and "&" is assumed if none is provided. If $symbol is fully qualified, and $package is also provided, then the package of the symbol must match the $package.
Returns a structure like this:
return { name => 'BAZ', sigil => '$', type => 'SCALAR', symbol => '&Foo::Bar::BAZ', package => 'Foo::Bar', };
The source code repository for Test2-Suite can be found at https://github.com/Test-More/Test2-Suite/.
Copyright 2018 Chad Granum <exodist@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
2024-04-28 | perl v5.40.0 |