File: synopsis-error.patch

package info (click to toggle)
libnet-ssh-perl 0.09-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 144 kB
  • sloc: perl: 112; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Synopsis error
 The example shows how to use ssh_cmd but the 'use' statement doesn't import
 the function.
Author: Xavier Guimard <x.guimard@free.fr>
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=81097
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=81097
Last-Update: 2012-12-26

--- a/SSH.pm
+++ b/SSH.pm
@@ -23,7 +23,7 @@
 
 =head1 SYNOPSIS
 
-  use Net::SSH qw(ssh issh sshopen2 sshopen3);
+  use Net::SSH qw(ssh ssh_cmd issh sshopen2 sshopen3);
 
   ssh('user@hostname', $command);