Chady has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks..

Well, I'm starting to learn more and more Perl; Until now, all I have done is Form Handling on the web, and basic file read/write on both the web and my local hard drive, because I work a lot on text files that have to do with strings matching and substituting... (initiate in RegEx also).

What I need to know is;

thanx in advance

Chady | http://chady.net/

Replies are listed 'Best First'.
Re: Copying files
by clemburg (Curate) on Jan 22, 2001 at 21:32 UTC

    perl -MLWP::Simple -e 'getstore("http://www.perlmonks.com/index.pl?node_id=53544", "try.html")'

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com

Re: Copying files
by davorg (Chancellor) on Jan 22, 2001 at 21:29 UTC

    Sounds to me like the LWP::Simple (or some other module from the LWP bundle) will do just what you want.

    --
    <http://www.dave.org.uk>

    "Perl makes the fun jobs fun
    and the boring jobs bearable" - me