in reply to How do I download a file that needs username and password?
Did you try LWP ?
See also lwpcook for examples
update
... and lwptut for introduction
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In Section
Seekers of Perl Wisdom