in reply to Download a file from the web

I should think LWP::Simple would suit your needs perfectly:

use LWP::Simple; $pdf_content = get("http://some.site/foo.pdf")

    -- Chip Salzenberg, Free-Floating Agent of Chaos