in reply to Script-based filling of free-text entries on HTML pages

If you're new to this kind of thing, I can strongly recommend the book Spidering Hacks, by Hemenway and Calishain. It is an O'Reilly book and therefore can be ordered from Amazon. It has several examples that use modules such as LWP::UserAgent andWWW::Mechanize.
  • Comment on Re: Script-based filling of free-text entries on HTML pages

Replies are listed 'Best First'.
Re^2: Script-based filling of free-text entries on HTML pages
by pat_mc (Pilgrim) on Aug 12, 2008 at 20:53 UTC
    Thanks for your suggestion, dwm042. Incidentally, I have a copy of the book you mention but have to admit I am only finding it moderately helpful. To the uninitiated it appears to be little more than a cookbook ... what I would prefer is a book that actually explains things (along the lines of O'Reilley's classic 'Learning Perl').

    Thanks for your reply, anyway!

    Pat

      I agree with you, and the best way is really just to dive in to the WWW::Mechanize documentation, which is very thorough and very readable, even for the uninitiated. Make lots of test scripts with the various form-filling functions - there are several ways to do it and find out what you're comfortable with.

      Also look at the Forms subclass and explore the methods there. Just practice!