in reply to
Re^3: Keeping a local copy of a file up-to-date
in thread Keeping a local copy of a file up-to-date
But how is this responsive to Vesselin's question?
The OP asked (note the added emphasis highlighting the bit that you so carefully omitted from your quote above!):
Is there a CPAN module or something for that sort of task - or do I have to re-invent the wheel?
lwp-mirror exactly answers that query including the bit about not having to reinvent the wheel.
It means he doesn't have to write anything!. He can just use the existing script directly.
What is there about an exactly appropriate answer that you do not understand?
Use subroutines for code reuse
Master regular expressions
Write my GUIs with Perl
Abandon CGI in favor of some modern web framework
Put my code in modules
Create CPAN distributions
test and document my code as I write it
Write OOP with or without animal help
Finally switch to a modern Perl style
Create a killer application with Perl
Detoxify from Perl and PerlMonks
Choose another language because Perl is dead
Learn to program for mobile devices
Complete my secret world domination project
None, because the road to hell is paved with good intentions
Results (258 votes),