in reply to Download and Save an image?
Install Bundle::LWP (if it isn't already installed). Then run the following:
GET http://www.example.com/icons/foo.png >myfoo.png
...and you're done. Next question please.
update: this response is a bit a "give a man a fish" instead of "teach a man to fish". So, in the interest of completeness, should you find that GET is a little too rudimentary, I suggest you read 'perldoc lwpcook', which gives you all sorts of recipes for downloading web objects.
--
|
|---|