briandfoy / net-ssh-perl

Development on the Net::SSH::Perl module to support latest ciphers, key exchange mechanisms, etc.
Other
4 stars 1 forks source link

"Could not dupe: No such file or directory" issue #24

Open briandfoy opened 1 year ago

briandfoy commented 1 year ago

This ticket was imported from rt.cpan.org 51623

There is a problem with the SSH2 part of Net::SSH::Perl. I've written a blog entry about it: http://blog.pebcak.de/archives/898-Patch-for-NetSSHPerl.html

There is a patch for that problem attached to that blog entry as well.

briandfoy commented 1 year ago

from schwigon@cpan.org


On Tue Nov 17 16:10:16 2009, WNEESSEN wrote:

There is a problem with the SSH2 part of Net::SSH::Perl. I've written a blog entry about it: http://blog.pebcak.de/archives/898-Patch-for-NetSSHPerl.html

There is a patch for that problem attached to that blog entry as well.

There seems to be a fix already but with a small difference. Essentially the difference is the '=' in this:

open($dup, "${mode}&$fh")     # since v1.33
open($dup, "${mode}&=$fh")    # proposed in said blog entry

Can someone tell me whether this ticket is about the '=' or about the original 3-args vs. 2-args open()?

I am about to add the "=" as I understand "perldoc -f open" this way but I am unsure.

Kind regards, Steffen