File: manpage-has-errors-from-pod2man.patch

package info (click to toggle)
libhtml-microformats-perl 0.104-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,016 kB
  • sloc: perl: 13,787; makefile: 17
file content (55 lines) | stat: -rw-r--r-- 1,601 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Description: Fix several pod2man errors in generated manpages
Author: Florian Schlichting <fschlich@zedat.fu-berlin.de>
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=73336

--- a/lib/HTML/Microformats.pm
+++ b/lib/HTML/Microformats.pm
@@ -366,8 +366,6 @@
 
 As C<model> but returns a string.
 
-=back
-
 =cut
 
 sub serialise_model
--- a/lib/HTML/Microformats/DocumentContext.pm
+++ b/lib/HTML/Microformats/DocumentContext.pm
@@ -433,6 +433,8 @@
 
 __END__
 
+=back
+
 =head1 BUGS
 
 Please report any bugs to L<http://rt.cpan.org/>.
--- a/lib/HTML/Microformats/ObjectCache.pm
+++ b/lib/HTML/Microformats/ObjectCache.pm
@@ -46,7 +46,7 @@
 
 =over 4
 
-=item C<< $cache->set($context, $package, $element, $object);
+=item C<< $cache->set($context, $package, $element, $object) >>
 
 For a given context, package (e.g. 'HTML::Microformats::Format::hCard') and DOM
 element node, stores an object in the cache.
@@ -68,7 +68,7 @@
 	return $self->{ $ctx->uri }->{ $klass }->{ $nodepath };
 }
 
-=item C<< $object = $cache->get($context, $package, $element);
+=item C<< $object = $cache->get($context, $package, $element) >>
 
 For a given context, package (e.g. 'HTML::Microformats::Format::hCard') and DOM
 element node, retrieves an object from the cache.
@@ -91,7 +91,7 @@
 	return $self->{ $ctx->uri }->{ $klass }->{ $nodepath };
 }
 
-=item C<< @objects = $cache->get_all($context, [$package]);
+=item C<< @objects = $cache->get_all($context, [$package]) >>
 
 For a given context and package (e.g. 'HTML::Microformats::Format::hCard'), retrieves a
 list of objects from within the cache.