summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/cpan/Pod-Parser/t/pod/include.xr
blob: 187653b741abd416f933dbe7c7ec2e380d3b8f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
    This file tries to demonstrate a simple =include directive for pods. It
    is used as follows:

       =include filename

    where "filename" is expected to be an absolute pathname, or else reside
    be relative to the directory in which the current processed podfile
    resides, or be relative to the current directory.

    Lets try it out with the file "included.t" shall we.

    ***THIS TEXT IS IMMEDIATELY BEFORE THE INCLUDE***

###### begin =include included.t #####
    This is the text of the included file named "included.t". It should
    appear in the final pod document from pod2xxx

###### end =include included.t #####
    ***THIS TEXT IS IMMEDIATELY AFTER THE INCLUDE***

    So how did we do???