There's more than one way to do things | |
PerlMonks |
Re^3: Net::SFTP::Foreign getting filesby salva (Canon) |
on Apr 11, 2013 at 14:14 UTC ( [id://1028164]=note: print w/replies, xml ) | Need Help?? |
Oh, I see, you are calling glob in scalar context where it returns the number of files matching.
Also, you don't need mget when you have already used glob to resolve the name. get will do in that case:
In Section
Seekers of Perl Wisdom
|
|