Pod::Si...JustPod(3pm)
π Pod::Si...JustPod(3pm) π
okay so bestie, this is the page for Pod::Simple::JustPod from the Perl Programmers Reference Guide, and it is literally giving βjust the Pod, the whole Pod, and nothing but the Pod.β π
β¨
β¨ NAME β¨
Pod::Simple::JustPod -- just the Pod, the whole Pod, and nothing but the Pod. π«Ά
πΈ SYNOPSIS πΈ
my $infile = "mixed_code_and_pod.pm";
my $outfile = "just_the_pod.pod";
open my $fh, ">$outfile" or die "Can't write to $outfile: $!";
my $parser = Pod::Simple::JustPod->new();
$parser->output_fh($fh);
$parser->parse_file($infile);
close $fh or die "Can't close $outfile: $!";
π¦ DESCRIPTION π¦
This class returns a copy of its input, translated into Perlβs internal encoding (UTF-8), and with all the non-Pod lines removed. β¨
This is a subclass of Pod::Simple::Methody and inherits all its methods. And since that in turn is a subclass of Pod::Simple, you can use any of its methods. That means you can output to a string instead of a file, or you can parse from an array. π«Ά
This class strives to return the Pod lines of the input completely unchanged, except for any necessary translation into Perlβs internal encoding, and it makes no effort to return trailing spaces on lines; these likely will be stripped. If the input pod is well-formed with no warnings nor errors generated, the extracted pod should generate the same documentation when formatted by a Pod formatter as the original file does. π
By default, warnings are output to STDERR. π©·
π SEE ALSO π
Pod::SimplePod::Simple::Methody
π SUPPORT π
Questions or discussion about POD and Pod::Simple should be sent to the <mailto:pod-people@perl.org> mail list. Send an empty email to <mailto:pod-people-subscribe@perl.org> to subscribe. π¬
This module is managed in an open GitHub repository, https://github.com/theory/pod-simple/. Feel free to fork and contribute, or to clone https://github.com/theory/pod-simple.git and send patches! π§
Patches against Pod::Simple are welcome. Please send bug reports to <mailto:<bug-pod-simple@rt.cpan.org>. π
π COPYRIGHT AND DISCLAIMERS π
Copyright (c) 2002 Sean M. Burke. π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
π§ AUTHOR π§
Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. But donβt bother him, heβs retired. π
Pod::Simple is maintained by:
- Allison Randal
"allison@perl.org" - Hans Dieter Pearcey
"hdp@cpan.org" - David E. Wheeler
"dwheeler@cpan.org"
Pod::Simple::JustPod was developed by John SJ Anderson "genehack@genehack.org", with contributions from Karl Williamson "khw@cpan.org".
okay thatβs the whole page, bestie β this was perl v5.42.3, dated 2026-11-03, for Pod::Si...JustPod(3pm). periodt. π
β¨
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl 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