Skip Menu |

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

Report information
The Basics
Id: 38644
Status: open
Priority: 0/
Queue: Net-SSH-Expect

People
Owner: Nobody in particular
Requestors: JRomigh [...] msa.com
Cc:
AdminCc:

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



Subject: Pseudo-hashes are deprecated in Perl 5.10
Date: Thu, 21 Aug 2008 11:21:49 -0400
To: <bug-Net-SSH-Expect [...] rt.cpan.org>
From: "Romigh, Jacob" <JRomigh [...] msa.com>
Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it doesn't seem to work anymore.
Subject: Re: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl 5.10
Date: Thu, 21 Aug 2008 19:17:16 -0300
To: bug-Net-SSH-Expect [...] rt.cpan.org
From: "Bruno Negrao" <bnegrao [...] gmail.com>
Hello buddy, Would you do us the great favor of showing here the snippet of code that is failing? do you have an error message too? Please don't show only the line that fails, show some lines before and after. Thanks, bruno On Thu, Aug 21, 2008 at 5:49 PM, Romigh, Jacob via RT < bug-Net-SSH-Expect@rt.cpan.org> wrote: Show quoted text
> Thu Aug 21 16:49:03 2008: Request 38644 was acted upon. > Transaction: Ticket created by JRomigh@msa.com > Queue: Net-SSH-Expect > Subject: Pseudo-hashes are deprecated in Perl 5.10 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: JRomigh@msa.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > doesn't seem to work anymore. > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > doesn't seem to work anymore. > >
Subject: RE: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl 5.10
Date: Fri, 22 Aug 2008 09:24:53 -0400
To: <bug-Net-SSH-Expect [...] rt.cpan.org>
From: "Romigh, Jacob" <JRomigh [...] msa.com>
Sorry about the vagueness. I was wrong about Net::SSH::Expect not working, mostly because I was using ssh_run() when I should have been running login(). But the warning of pseudo-hashes persists, 4 times in a row to be precise. Show quoted text
---Console Output Quote--- [qabuild@howlite bin]$ perl NETSSHtest.pl Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. Login output was ... (What follows was output I specified in my program) ---Quote--- And that is all the information I am getting from my test program. Everything else runs as expected. My code looks like:
---Code Quote--- #!/usr/bin/perl use Getopt::Std; use Net::SSH::Expect; my $ssh = Net::SSH::Expect->new ( #host => "howlite.msais.com", host => $serv, password=> $pass, user => $user, raw_pty => 1 ); my $login_output = $ssh->login(); print "Login output was $login_output\n"; ...
---Quote--- Looking at the expect code, line 60 belongs to an if statement which follows: ---Expect.pm Quote--- # validating the user input foreach my $key (keys %args) { Line 60: if (! exists $self->{$key} ) { croak ILLEGAL_ARGUMENT . " attribute '$key' is not a valid constructor argument."; } }
---Quote--- Hope this is a bit more helpful than my previous post, which was very much lacking information. -J. Romigh
-----Original Message----- From: Bruno Negrao via RT [mailto:bug-Net-SSH-Expect@rt.cpan.org] Sent: Thursday, August 21, 2008 6:18 PM To: Romigh, Jacob Subject: Re: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl 5.10 <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > Hello buddy, Would you do us the great favor of showing here the snippet of code that is failing? do you have an error message too? Please don't show only the line that fails, show some lines before and after. Thanks, bruno On Thu, Aug 21, 2008 at 5:49 PM, Romigh, Jacob via RT < bug-Net-SSH-Expect@rt.cpan.org> wrote:
> Thu Aug 21 16:49:03 2008: Request 38644 was acted upon. > Transaction: Ticket created by JRomigh@msa.com > Queue: Net-SSH-Expect > Subject: Pseudo-hashes are deprecated in Perl 5.10 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: JRomigh@msa.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > doesn't seem to work anymore. > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > doesn't seem to work anymore. > >
Subject: Re: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl 5.10
Date: Fri, 22 Aug 2008 10:36:54 -0300
To: bug-Net-SSH-Expect [...] rt.cpan.org
From: "Bruno Negrao" <bnegrao [...] gmail.com>
Ok Jacob, so let's don't say this is a bug while you still can run my module, ok? I'll close this ticket. regards, bruno On Fri, Aug 22, 2008 at 10:25 AM, Romigh, Jacob via RT < bug-Net-SSH-Expect@rt.cpan.org> wrote: Show quoted text
> Queue: Net-SSH-Expect > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > Sorry about the vagueness. I was wrong about Net::SSH::Expect not working, > mostly because I was using ssh_run() when I should have been running > login(). > But the warning of pseudo-hashes persists, 4 times in a row to be precise. > > ---Console Output Quote--- > [qabuild@howlite bin]$ perl NETSSHtest.pl > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Login output was > ... (What follows was output I specified in my program) > ---Quote--- > > And that is all the information I am getting from my test program. > Everything else runs as expected. > > My code looks like: > > ---Code Quote--- > #!/usr/bin/perl > use Getopt::Std; > use Net::SSH::Expect; > > > my $ssh = Net::SSH::Expect->new ( > #host => "howlite.msais.com", > host => $serv, > password=> $pass, > user => $user, > raw_pty => 1 > ); > > > my $login_output = $ssh->login(); > print "Login output was $login_output\n"; > ... > ---Quote--- > > Looking at the expect code, line 60 belongs to an if statement which > follows: > > ---Expect.pm Quote--- > # validating the user input > foreach my $key (keys %args) { > Line 60: if (! exists $self->{$key} ) { > croak ILLEGAL_ARGUMENT . " attribute '$key' is not a > valid constructor argument."; > } > } > ---Quote--- > > Hope this is a bit more helpful than my previous post, which was very much > lacking information. > > -J. Romigh > > > > -----Original Message----- > From: Bruno Negrao via RT [mailto:bug-Net-SSH-Expect@rt.cpan.org] > Sent: Thursday, August 21, 2008 6:18 PM > To: Romigh, Jacob > Subject: Re: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl > 5.10 > > <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > Hello buddy, > > Would you do us the great favor of showing here the snippet of code that is > failing? do you have an error message too? > > Please don't show only the line that fails, show some lines before and > after. > > Thanks, > bruno > > On Thu, Aug 21, 2008 at 5:49 PM, Romigh, Jacob via RT < > bug-Net-SSH-Expect@rt.cpan.org> wrote: >
> > Thu Aug 21 16:49:03 2008: Request 38644 was acted upon. > > Transaction: Ticket created by JRomigh@msa.com > > Queue: Net-SSH-Expect > > Subject: Pseudo-hashes are deprecated in Perl 5.10 > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: JRomigh@msa.com > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > > doesn't seem to work anymore. > > > > > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > > doesn't seem to work anymore. > > > >
> > >
Subject: RE: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl 5.10
Date: Fri, 22 Aug 2008 09:39:10 -0400
To: <bug-Net-SSH-Expect [...] rt.cpan.org>
From: "Romigh, Jacob" <JRomigh [...] msa.com>
Sorry, like I said: It was my mistake that it wouldn't run on my first runs. - J. Romigh Show quoted text
-----Original Message----- From: Bruno Negrao via RT [mailto:bug-Net-SSH-Expect@rt.cpan.org] Sent: Friday, August 22, 2008 9:38 AM To: Romigh, Jacob Subject: Re: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl 5.10 <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > Ok Jacob, so let's don't say this is a bug while you still can run my module, ok? I'll close this ticket. regards, bruno On Fri, Aug 22, 2008 at 10:25 AM, Romigh, Jacob via RT < bug-Net-SSH-Expect@rt.cpan.org> wrote:
> Queue: Net-SSH-Expect > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > Sorry about the vagueness. I was wrong about Net::SSH::Expect not working, > mostly because I was using ssh_run() when I should have been running > login(). > But the warning of pseudo-hashes persists, 4 times in a row to be precise. > > ---Console Output Quote--- > [qabuild@howlite bin]$ perl NETSSHtest.pl > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > Login output was > ... (What follows was output I specified in my program) > ---Quote--- > > And that is all the information I am getting from my test program. > Everything else runs as expected. > > My code looks like: > > ---Code Quote--- > #!/usr/bin/perl > use Getopt::Std; > use Net::SSH::Expect; > > > my $ssh = Net::SSH::Expect->new ( > #host => "howlite.msais.com", > host => $serv, > password=> $pass, > user => $user, > raw_pty => 1 > ); > > > my $login_output = $ssh->login(); > print "Login output was $login_output\n"; > ... > ---Quote--- > > Looking at the expect code, line 60 belongs to an if statement which > follows: > > ---Expect.pm Quote--- > # validating the user input > foreach my $key (keys %args) { > Line 60: if (! exists $self->{$key} ) { > croak ILLEGAL_ARGUMENT . " attribute '$key' is not a > valid constructor argument."; > } > } > ---Quote--- > > Hope this is a bit more helpful than my previous post, which was very much > lacking information. > > -J. Romigh > > > > -----Original Message----- > From: Bruno Negrao via RT [mailto:bug-Net-SSH-Expect@rt.cpan.org] > Sent: Thursday, August 21, 2008 6:18 PM > To: Romigh, Jacob > Subject: Re: [rt.cpan.org #38644] Pseudo-hashes are deprecated in Perl > 5.10 > > <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > Hello buddy, > > Would you do us the great favor of showing here the snippet of code that is > failing? do you have an error message too? > > Please don't show only the line that fails, show some lines before and > after. > > Thanks, > bruno > > On Thu, Aug 21, 2008 at 5:49 PM, Romigh, Jacob via RT < > bug-Net-SSH-Expect@rt.cpan.org> wrote: >
> > Thu Aug 21 16:49:03 2008: Request 38644 was acted upon. > > Transaction: Ticket created by JRomigh@msa.com > > Queue: Net-SSH-Expect > > Subject: Pseudo-hashes are deprecated in Perl 5.10 > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: JRomigh@msa.com > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38644 > > > > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > > doesn't seem to work anymore. > > > > > > > > Pseudo-hashes are deprecated at Net/SSH/Expect.pm line 60. > > > > > > > > I'm using Perl 5.10, and since Net::SSH::Expect uses pseudo-hashes, it > > doesn't seem to work anymore. > > > >
> > >