Ruth --

...and then Craig, Ruth said...
% 
% Hi all-

Hello!


% 
% I'm relatively new to perl and I don't know much about which modules might
% be helpful--I was hoping some of you might have suggestions.

I'm pretty junior myself, but perhaps I can still contribute.


% 
% Basically, I want to write automated scripts that deal with web-interfaces.
% For example, I want to be able to input data into web-forms, submit web
% forms, and gather output data.

Sounds easy enough.  First of all, have you looked at CGI.pm?  That makes
it easy to spit out HTML, and might make it easy to spit out HTML that
will be easy to read when it comes back to you.


% 
% Is there any perl module that has a mechanism for recognizing HTML form
% elements? I looked at gui:test and a few others---but mostly these were able
% to recognize windows widgets, either by name or control ID. Is there
% something available that might be useful for me to look at?

It might be even easier than all of that...  A web form's data will come
back either in the environment or on the command line (and I can never
remember which is GET and which is POST).  If it's on the environment,
then you can look for your values as $ENV{VAL1} and $ENV{VAL2} and so on;
if it's on the command line, then they will be in @ARGV and probably
parsed easily with getopts or Getopt::Std and/or Getopt::Long modules.


% 
% Thanks in advance for your patience and any advice you might be able to
% offer.

HTH & HAND


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg25566/pgp00000.pgp
Description: PGP signature

Reply via email to