Devel::...rPackage(3)
π NAME π
Okay bestie, real talk: this page is Devel::...rPackage(3) from the User Contributed Perl Documentation manual, and the actual module is Devel::InnerPackage β it finds all the inner packages of a package. Slay. β¨
πΈ SYNOPSIS πΈ
use Foo::Bar;
use Devel::InnerPackage qw(list_packages);
my @inner_packages = list_packages('Foo::Bar');
π¦ DESCRIPTION π¦
So picture a file like this, okay?
package Foo::Bar;
sub foo {}
package Foo::Bar::Quux;
sub quux {}
package Foo::Bar::Quirka;
sub quirka {}
1;
Then this little icon right here:
list_packages('Foo::Bar');
will return:
Foo::Bar::Quux
Foo::Bar::Quirka
Periodt. π
π METHODS π
π§ list_packages <package name>
Returns a list of all the inner packages of that package. Thatβs the whole vibe. π«Ά
π AUTHOR π
Simon Wistow <simon@thegestalt.org> β iconic behavior, no cap. π
π COPYING π
Copyright, 2005 Simon Wistow.
Distributed under the same terms as Perl itself. π
π BUGS π
None known. We love a clean vibe check. π
Cute little sign-off, bestie: this page comes from perl v5.42.0, dated 2025-01-11, and its header is Devel::...rPackage(3) πβ¨π
π¦ where this page comes from
- alpine 3.23: perl-module-pluggable-doc 6.3-r0 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- opensuse-leap 16.0: perl-Module-Pluggable 6.300.0-160000.2.2 Β· 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