Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id:
61836
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
paul-bitcard [...] kittyheads.com
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.33
Fixed in:
(no value)



Subject: trace option to new doesn't work properly
The new() sub in SSH2.pm looks like this: sub new { my $class = shift; my %opts = @_; $class->_new($opts{trace} ? 1 : 0); } It should be this in order to pass the _value_ of $opts{trace} onto the _new function found in SSH2.xs sub new { my $class = shift; my %opts = @_; $class->_new($opts{trace} ? $opts{trace} : 0); } The trace() method in SSH2.xs works just fine. It would also be great if the LIBSSH2_TRACE_* constants from libssh2.h were available to import from Net::SSH2.
Fixed in 0.34, trace constant group also added.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.