in reply to copying file using Net::SCP module
use Net::SCP qw(scp); is procedural---not OO.
---is OO.$scp = Net::SCP->new( "155.226.205.195", "metrica"); $scp->get("/apps/instl/metrica/sample.txt") or die $scp->{errstr};
I would stick with procedural and take another look at the code that ysth posted.
|
---|
Replies are listed 'Best First'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |