BASEPODS(1)

πŸ“¦
version 2.2.0 Β· 3 versions
, in epel 9

✨ BASEPODS(1) ✨

okay bestie, this is basepods β€” a lil Perl utility situation from the User Contributed Perl Documentation corner of the universe. buckle up, it's actually so simple and honestly kind of iconic πŸ’…


🌸 NAME 🌸

basepods β€” literally just prints out the pod paths for the standard perl manpages. that's it. that's the whole gig. no cap 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: this program peeks at your configuration's installprivlib directory and uses it to look up the full paths to those pod pages. ✨

any files sitting in that directory whose names end in .pod? they get printed to the standard output, one per line. periodt. πŸ“

and like, the normal way people use this is inside backticks, so it spits out a list of filenames you can hand off to other commands. it's giving "glue code but make it cute" πŸŽ€


πŸŽ€ EXAMPLES πŸŽ€

the classic move, bestie:

$ podgrep typeglob `basepods`

and if you wanna filter for the deltas specifically:

$ basepods | grep delt
/usr/local/devperl/lib/5.00554/pod/perl5004delta.pod
/usr/local/devperl/lib/5.00554/pod/perl5005delta.pod
/usr/local/devperl/lib/5.00554/pod/perldelta.pod

you can also run this using alternate perl binaries β€” lowkey a serve 🧚

$ oldperl -S basepods | grep delt
/usr/lib/perl5/pod/perldelta.pod

$ podgrep -i thread `filsperl basepods | grep delt`
....

πŸ’œ SEE ALSO πŸ’œ

faqpods(1), modpods(1), pods(1), sitepod(1), podpath(1), and stdpod(1). go read the whole friend group, they all slay 🌈


πŸ‘‘ AUTHORS and COPYRIGHTS πŸ‘‘

Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2014 Mark Leighton Fisher.


πŸ”₯ LICENSE πŸ”₯

This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.)

⚠️ please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". so yeah, the licensing glow-up is real, don't @ me πŸ’€

and that's the whole page bestie!! this one came from perl v5.32.1, dated 2022-01-21, and it's filed under BASEPODS(1) β€” mwah, go run it, ily πŸ“πŸ’–

πŸ“¦ where this page comes from