Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Net::SCP::Expect not taking auto_yes method

Thread Tools

Net::SCP::Expect not taking auto_yes method

John Call
Posts: n/a
I am using Net::SCP::Expect for secure copy from a program. I have set
the auto_yes method to answer any connecting questions:

my $scpe = Net::SCP::Expect->new(auto_yes => '1');

I've also tried the '1' outside quotes. I still get the following:

Are you sure you want to continue connecting (yes/no)? at
/storage/mu/ line 500

Any ideas about why I would still be getting this?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
method def in method vs method def in block Kyung won Cheon Ruby 0 11-21-2008 08:48 AM
Partial specialisation of method taking parameterized parameter =?iso-8859-1?q?Erik_Wikstr=F6m?= C++ 3 12-20-2006 02:05 PM
invoke a method by reflection£¨the method's parameters can not be ArrayList? jerry051 ASP .Net 2 08-02-2005 10:35 AM
taking address of a template method Domenico Andreoli C++ 2 08-12-2003 07:06 PM
Difference in module_eval taking block vs. taking string (1.8 bug?) Jim Cain Ruby 1 07-18-2003 02:01 AM