Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

include files for perl pod

by Anonymous Monk
on Jul 22, 2013 at 19:57 UTC ( #1045710=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a set of perl scripts. Some of the documentation for the scripts is common. Is it possible to keep that in a file and include the file in the POD sections?

Comment on include files for perl pod
Re: include files for perl pod
by rjt (Deacon) on Jul 22, 2013 at 20:00 UTC

    Have a look at Pod::Template. It does pretty much exactly what you are looking for.

Re: include files for perl pod
by tobyink (Abbot) on Jul 22, 2013 at 20:04 UTC

    Pod::Weaver does that and more.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1045710]
Approved by Perlbotics
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2015-01-26 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (194 votes), past polls