Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a web bot that I created that I'd like to release, but before I do I want to make it easier to adapt to user's pages.

Instead of having a config section asking for forum_num or forum_name to use the bot, I want to setup a web based admin panel that calculates this for the user.

My idea is to have a form field where the user will copy and paste the entire source code for their web page (the one they want to use the bot on) and ask for a specific field name within the forum (for example, a form could have a forum field called subject).

With their forum field and source code, I'd like to run WWW::Mechanize through their code and automatically determine which numerical form to use.

Does anyone know if WWW::Mechanize can be used for this purpose? Can anyone give me a hand piecing this together?

Replies are listed 'Best First'.
Re: Can we count forms with mechanize?
by Anonymous Monk on Oct 14, 2006 at 04:16 UTC