Hi,
This can be anything from quite trivial to quite annoying, depending on
the web server and the amount of Cookies, Javascript, Flash Plugins,
Java Applets being sued by your page.
You should probably look at following modules
- LWP::UserAgent # to access the page, enter the data and post/get it
- WWW::Mechanize # sub class of LWP::UserAgent, probably simpler,
# but I never used ut
- HTML:
arser # to examine the response. If the response is very simple
you could also just use a regular expression.
- HTTP::Cookies # Only needed if browsing the page doesn't work without
cookies
Please note, that these modules are not necessarily installed on your PC,
To find out whether a module exists, you coulcd check,
You can try to executa an empty perl script, which uses this module:
perl -MLWP::UserAgent -e ''
or you try to read the module's documentation:
perldoc LWP::UserAgent # if there's no doc the module doesn't exist
Installing these modules depends on your OS / perl distribution
For examples you can look at:
http://search.cpan.org/~gaas/libwww...dance/WWW-Mechanize-1.52/lib/WWW/Mechanize.pm
bye
N
- Show quoted text -