http://qs321.pair.com?node_id=82867

ip9 has asked for the wisdom of the Perl Monks concerning the following question: (http and ftp clients)

I have used the LWP library to download HTML files for parsing, but at the end of the program i wish to be able to download a file (extraced from the html file i parsed) and save it to a local file

i am currently using wget to do this, can i do it from within my program to make things neater?

p.s. i know what the url and local file will be - just need to somehow place the downloaed file on the local disk

Originally posted as a Categorized Question.