mkilic has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to write a program that would login datamonitors.com and download some files. I have diffuculties with authentication. Is there any sample code that I can look at to get a head start? The code needs to keep the connection alive or login for each try so that I can browse throught the site. Can some one give me a hint on this?
LWP's documentation includes a cookbook called "lwpcook", which contains the sample code you're looking for. (Look for "Access to Protected Documents".)