File: fix-pod-errors.patch

package info (click to toggle)
libjson-path-perl 0.431-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 372 kB
  • sloc: perl: 961; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 732 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
Description: Fixing POD problems.
Author: Andrius Merkys <merkys@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2021-02-01

--- a/lib/JSON/Path/Evaluator.pm
+++ b/lib/JSON/Path/Evaluator.pm
@@ -894,13 +894,13 @@
 
 =over 4
 
-=item *
+=item Z<>*
 
 JSONPath uses the token '$' to refer to the root node. As this is not valid Perl, this should be
 
 replaced with '$root' in a filter expression.
 
-=item *
+=item Z<>*
 
 JSONPath uses the token '@' to refer to the current node. This is also not valid Perl. Use '$_'
 
--- a/lib/JSON/Path.pm
+++ b/lib/JSON/Path.pm
@@ -134,7 +134,7 @@
 
 =head1 NAME
 
-JSON::Path
+JSON::Path - search nested hashref/arrayref structures using JSONPath
 
 =head1 VERSION