Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help on cookie

Status
Not open for further replies.

oracler

MIS
Oct 4, 2001
19
0
0
US
Hi, I am new in perl programming. I have a problem on cookie.

I need to retrieve a page from a website, but the website require cookie enabled. I used the LWP:Simple and get($url), and the content I got was something like "Your web browser is not currently configured to accept "cookies." I know I may need to use other classes in LWP but I don't know how. Could anybody help me out? Thanks a lot.

------------
code:

use LWP::Simple
open(out_FH,">stapleoutput.txt");
$document=get("print out_FH ("$document");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top