$ftp->rget( map{($_, 1)} @ARGV);
That map is essentially creating a hash where the keys are the elements in @ARGV and the values are 1's.
For instance, if @ARGV held one element, "SymlinkIgnore" that code would result in a call to rget() just like $ftp-rget( SymlinkIgnore => 1); I think the man pages for Net::FTP::Recursive should clear it up from there.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: map question...
by sauoq
in thread map question...
by k2
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |