in reply to Need Help With Net::FTP::Recursive
In the pod for Net::FTP::Recursive, the author uses square brackets to denote optional parameters:$ftp->rget( OmitAll => $ignore );
The example from the pod above does not mean the method takes a reference to a list. It takes a list of key/value pairs, all of which are optional.rget ( [ParseSub =>\&yoursub] [,FlattenTree => 1] [,RemoveRemoteFiles +=> 1] )
|
|---|