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

In reply to Re: Copy to Webfolder by Corion
in thread Copy to Webfolder by bitman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.