~ubuntu-branches/ubuntu/saucy/libpod-pom-perl/saucy

« back to all changes in this revision

Viewing changes to t/test.pod

  • Committer: Bazaar Package Importer
  • Author(s): Taku YASUI
  • Date: 2001-06-19 19:56:58 UTC
  • Revision ID: james.westby@ubuntu.com-20010619195658-7klk908yvhfl7gzg
Tags: upstream-0.02
ImportĀ upstreamĀ versionĀ 0.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=head1 NAME
 
2
 
 
3
My::Module - a sample Pod document for testing Pod::POM
 
4
 
 
5
=head1 SYNOPSIS
 
6
 
 
7
    use My::Module;
 
8
 
 
9
    my $module = My::Module->new();
 
10
    my $item   = $module->item();
 
11
 
 
12
=head1 DESCRIPTION
 
13
 
 
14
This is a sample Pod document for testing the Pod::POM module.
 
15
 
 
16
    Here is a verbatim section, indented from the left margin 
 
17
    by some whitespace
 
18
 
 
19
This is some more regular text.
 
20
 
 
21
Here is some B<bold> text, some I<italic> and something that looks 
 
22
like an E<lt>htmlE<gt> tag.  This is some C<$code($arg1)>.
 
23
 
 
24
This C<text contains embedded B<bold> and I<italic> tags>.  These can 
 
25
be nested, allowing B<bold and I<bold E<amp> italic> text>.  The module also
 
26
supports the extended B<< syntax >> and permits I<< nested tags E<amp>
 
27
other B<<< cool >>> stuff >>
 
28
 
 
29
=head1 METHODS =E<gt> OTHER STUFF
 
30
 
 
31
Here is a list of methods
 
32
 
 
33
=head2 new()
 
34
 
 
35
Constructor method.  Accepts the following config options:
 
36
 
 
37
=over 4
 
38
 
 
39
=item foo
 
40
 
 
41
The foo item.
 
42
 
 
43
=item bar
 
44
 
 
45
The bar item.
 
46
 
 
47
=over 4
 
48
 
 
49
This is a list within a list 
 
50
 
 
51
=item wiz
 
52
 
 
53
The wiz item.
 
54
 
 
55
=item waz
 
56
 
 
57
The waz item.
 
58
 
 
59
=back
 
60
 
 
61
=item baz
 
62
 
 
63
The baz item.
 
64
 
 
65
=back
 
66
 
 
67
=head2 old()
 
68
 
 
69
Destructor method
 
70
 
 
71
=head1 IMPORTANT STUFF
 
72
 
 
73
Here is some important stuff.
 
74
 
 
75
=over 4
 
76
 
 
77
=item Chew Your Food
 
78
 
 
79
Always chew your food properly before swallowing.
 
80
 
 
81
=item Running With Scissors
 
82
 
 
83
Don't run with scissors.
 
84
 
 
85
=back
 
86
 
 
87
=head1 TESTING FOR AND BEGIN
 
88
 
 
89
=for html    <br>
 
90
<p>
 
91
blah blah
 
92
</p>
 
93
 
 
94
intermediate text
 
95
 
 
96
=begin html
 
97
 
 
98
<more>
 
99
HTML
 
100
</more>
 
101
 
 
102
some text
 
103
 
 
104
=end
 
105
 
 
106
=head1 AUTHOR
 
107
 
 
108
Andy Wardley E<lt>abw@kfs.orgE<gt>.
 
109
 
 
110
=head1 VERSION
 
111
 
 
112
This is version 0.1 of My::Module.
 
113
 
 
114
I like being S<spaced  out, like  man>, wow.
 
115
 
 
116
=head1 COPYRIGHT
 
117
 
 
118
This module is free software; you can redistribute it and/or
 
119
modify it under the same terms as Perl itself.
 
120
 
 
121
=head1 SEE ALSO
 
122
 
 
123
See also L<pod2|Test Page 2>, L<Your::Module>, 
 
124
L<Their::Module> and the other interesting file 
 
125
F</usr/local/my/module/rocks> as well.
 
126
 
 
127
=cut