Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Need Help With Net::FTP::Recursive

by sacked (Hermit)
on May 07, 2004 at 00:16 UTC ( [id://351334]=note: print w/replies, xml ) Need Help??


in reply to Need Help With Net::FTP::Recursive

As shown in eric256's reply (Re: Need Help With Net::FTP::Recursive), the rget method takes a list, not a reference to a list:
$ftp->rget( OmitAll => $ignore );
In the pod for Net::FTP::Recursive, the author uses square brackets to denote optional parameters:
rget ( [ParseSub =>\&yoursub] [,FlattenTree => 1] [,RemoveRemoteFiles +=> 1] )
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.

--sacked

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://351334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found