CC: | sadashivkulthe [...] yahoo.com |
Subject: | Regular expressions can not be detected. |
Hi,
This bug not present in perl 5.8.8 and present in perl 5.8.9
This is regression.
My same program works fine under Perl 5.8.8 and NOT in Perl 5.8.9
it do not detect regular expression used for module Net::SCP::Expect
Following is program snippet and not complete script.
#!/usr/bin/perl
use Net::SSH::Perl;
use Net::SCP::Expect;
use Net::Telnet;
#add new rskey by doing a ssh
my $ssh = Net::SSH::Perl->new( $target, debug => 0, protocol => 2 );
$ssh->login( $user, $pass );
my $scpe = Net::SCP::Expect->new(
host => $target,
user => $user,
password => $pass,
recurisve => 1,
auto_yes => 1
);
$scpe->scp( "/automation/firmwares/licenses/K6_Keys/EVAL-${mbox}*",
'/tmp' );
* in above line create problem and do not treat at regular expression.
This program working fine under previous version of Perl.
I verified it perfectly.
Error is: at /usr/local/lib/perl5/site_perl/5.8.9/Expect.pm line
760s/K6_Keys/EVAL-MX5008*: No such file or directory
Please keep sadashivkulthe@yahoo.com in CC.
--
Sadashiv M Kulthe
Advisory System Analyst
Internet Security Systems R & D Project
IBM India Private Ltd.