This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
upgrade to PodParser-1.085 from Brad Appleton <bradapp@enteract.com>
[perl5.git] / t / pod / include.xr
CommitLineData
664bb207
GS
1 This file tries to demonstrate a simple =include directive for pods. It
2 is used as follows:
360aca43
GS
3
4 =include filename
5
664bb207
GS
6 where "filename" is expected to be an absolute pathname, or else reside
7 be relative to the directory in which the current processed podfile
8 resides, or be relative to the current directory.
360aca43
GS
9
10 Lets try it out with the file "included.t" shall we.
11
12 ***THIS TEXT IS IMMEDIATELY BEFORE THE INCLUDE***
13
14###### begin =include included.t #####
664bb207
GS
15 This is the text of the included file named "included.t". It should
16 appear in the final pod document from pod2xxx
360aca43
GS
17
18###### end =include included.t #####
19 ***THIS TEXT IS IMMEDIATELY AFTER THE INCLUDE***
20
21 So how did we do???
22