in reply to Reading img file through URL
LWP::Simple + getstore("url"); should be able to do that in a one-liner.