in reply to Copy to Webfolder
Modules are the wheels we have already invented - they contain nicely packaged routines without exposing and requiring too much of the internal workings. Many ways to accomplish tasks have already been written as modules, so while you don't necessarily need a module in the general sense, you, as you're not looking for the back-to-nature reinvent-every-wheel way of doing things, in this special case will need every module that helps you.
Now, we need to find out, what modules and mechanisms will help you to do your task. First of all, we need to know about your task - what is a webfolder ?
If that webfolder is something accessible via your browser, the chances are quite good that the LWP modules, possibly LWP::Simple, but for file uploads more LWP::UserAgent together with HTTP::Request::Common will do the tasks, together with nice and accurate examples.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
|
|---|