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.
In reply to Re: copying file usnig Net::SCP module
by Khen1950fx
in thread copying file using Net::SCP module
by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |