BASEPODS(1)
β¨ 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
- epel 9: perl-pmtools 2.2.0-14.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms