File: pod-errors.patch

package info (click to toggle)
libmath-random-perl 0.75-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 316 kB
  • sloc: ansic: 1,443; perl: 1,057; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 715 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
Description: Fix POD errors
 Remove S<> stuff completely, as parsing this confuses some
 parsers.
Origin: vendor
Forwarded: no
Author: Jonathan Yu <frequency@cpan.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2025-10-05

--- a/Random.pm
+++ b/Random.pm
@@ -589,8 +589,8 @@
 =item C<random_permuted_index($n)>
 
 Returns  an array  of  array indices, randomly  permuted.  The indices
-used are S<(0, ... ,>(I<$n>S< -  >1)).  This produces the indices used
-by C<random_permutation> for a given seed, without passing arrays.
+used are (0, ... , $n-1).  This produces the indices used by
+C<random_permutation> for a given seed, without passing arrays.
 
 B<Note:> the following are equivalent: