35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
|
From 55be677eb156146bcdcdf332854b02dc1064ef7b Mon Sep 17 00:00:00 2001
|
||
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||
|
Date: Tue, 21 Nov 2017 22:18:36 +0000
|
||
|
Subject: [PATCH 2/4] plugins: perl: Minor typographical fixes to the man page.
|
||
|
|
||
|
---
|
||
|
plugins/perl/nbdkit-perl-plugin.pod | 6 +++---
|
||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/plugins/perl/nbdkit-perl-plugin.pod b/plugins/perl/nbdkit-perl-plugin.pod
|
||
|
index 2ecdcf1..7d5a68d 100644
|
||
|
--- a/plugins/perl/nbdkit-perl-plugin.pod
|
||
|
+++ b/plugins/perl/nbdkit-perl-plugin.pod
|
||
|
@@ -63,14 +63,14 @@ script won't work.
|
||
|
=head2 METHODS
|
||
|
|
||
|
Your script has access to the following methods in the C<Nbdkit>
|
||
|
-package (in fact, attempting to C<use Nbdkit;> will fail, the methods
|
||
|
+package (in fact, attempting to C<use Nbdkit> will fail, the methods
|
||
|
are already available):
|
||
|
|
||
|
- Nbdkit::set_error(I<$err>)
|
||
|
+ Nbdkit::set_error($err);
|
||
|
|
||
|
Record C<$err> as the reason you are about to throw an exception. C<$err>
|
||
|
should correspond to usual errno values, where it may help to
|
||
|
-C<use POSIX();>.
|
||
|
+C<use POSIX()>.
|
||
|
|
||
|
=head2 EXCEPTIONS
|
||
|
|
||
|
--
|
||
|
2.13.2
|
||
|
|