From: ivan Date: Tue, 2 Jul 2002 14:28:27 +0000 (+0000) Subject: working stdin_string! X-Git-Tag: Net_SSH_0_06~1 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b5b9261011dc33d33d0f597050afbac0ed0d2025;p=Net-SSH.git working stdin_string! --- diff --git a/SSH.pm b/SSH.pm index d3a8c22..35d20b3 100644 --- a/SSH.pm +++ b/SSH.pm @@ -107,7 +107,7 @@ sub ssh_cmd { $host = $opt->{user}. '@'. $host if exists $opt->{user}; @command = ( $opt->{command} ); push @command, @{ $opt->{args} } if exists $opt->{args}; - my $stdin_string = $opt->{stdin_string}; + $stdin_string = $opt->{stdin_string}; } else { ($host, @command) = @_; undef $stdin_string;