469,271 Members | 1,000 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

Automated Website Login

Hi,
I need to write a perl script to browse a certain site, login and click on a link.
The URL for the link changes daily and uses session ID as well but the text remains the same on the HTML page.
Can anyone let me know which PERL module I could use for this?
Feb 23 '07 #1
4 8992
Hi im quiet new to perl and i haver to make an asignment, and i have a few problems...

How can you open a webste in perl and login with your usersname and pasword..

If someone can help me i will be satisfied for the moment :)!

greetings bram
Feb 23 '07 #2
miller
1,089 Expert 1GB
Use LWP (Stands for Light Weight Parsing). It will enables parsing of and posting to websites. Here's all the links that you could possibly need:

cpan LWP::Simple (The Module)
cpan LWP Tutorial
cpan LWP Cookbook
Feb 23 '07 #3
KevinADC
4,059 Expert 2GB
Maybe WWW::Mechanize is what you are looking for.
Feb 23 '07 #4
miller
1,089 Expert 1GB
Someone else apparantly shares your same homework assignment. I will now merge these threads so you can share the responses.

WWW::Mechanize is a specialized user agent of the LWP::UserAgent module. Read my post in the other thread for all relavent links to LWP related documentation.
Feb 23 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Manuel | last post: by
3 posts views Thread by janani | last post: by
1 post views Thread by luketongue | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.