in reply to Retrieving Data from URL

LWP is your friend. Use LWP. Install it, then perldoc lwpcook for many examples of usage.

-- Randal L. Schwartz, Perl hacker