Skip Menu |

This queue is for tickets about the POE-Component-Generic CPAN distribution.

Report information
The Basics
Id: 30576
Status: resolved
Priority: 0/
Queue: POE-Component-Generic

People
Owner: Nobody in particular
Requestors: yshtil [...] cisco.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: The example in POD does not work
Date: Thu, 08 Nov 2007 08:33:39 -0800
To: bug-POE-Component-Generic [...] rt.cpan.org
From: Yuri Shtil <yshtil [...] cisco.com>
The very first statement fails: use strict; use POE::Component::Generic::Net::SSH2; my $ssh = POE::Component::Generic::Net::SSH2->create( alias => 'my-ssh', verbose => 1, debug => 0 ); The error is: create not an object method at /users/yshtil/p.pl line 8. Am I missing something obvious? -- Yuri Shtil
On Thu Nov 08 11:33:20 2007, yshtil@cisco.com wrote: Show quoted text
> my $ssh = POE::Component::Generic::Net::SSH2->create(
Needs to be ->spawn() I've fixed the POD. And fixed PoCo::Generic::Net::SSH2 to work with Net::SSH2 0.18. 0.1007 has been uploaded and should be in CPAN soon. -Philip