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

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Sample code for message capturing
by Sinistral (Monsignor) on Mar 02, 2009 at 14:47 UTC

    I hesitate to reply, since you have asked a variant of this question at least three times. I'll give it a shot, in the hopes that you might read this and do some research.

    What you are looking for is a means to script/mechanize the interaction as if it were a person using a web browser. Based on previous postings, the most popular are WWW::Mechanize which has actual full-fledged code examples: WWW::Mechanize::Examples. An alternative with a more Internet Explorer type solution (which gives you JavaScript interaction) is Win32::IE::Mechanize. These modules allow you to script the interaction, such as clicking links, entering information into search boxes, and getting the results.

    A non-Perl solution is to use jQuery to add JavaScript instrumentation to the web page. If the page isn't one that you control, you can save the file and then add jQuery to print alerts, write to a Firebug console, and so forth

    I say again, PerlMonks isn't a site where you're going to get any actual code in response to "please send me the codes" that you keep doing

      Thank you for your guidance and i would like to make this point clear that the intention is to get the problems solved and not to get the code, since from the previous replies we didn't actually get any solution for our problem, thats why finally I've asked for the sample code. Anyway we will do a research and find it out.
      Thank you,
      Saravanan.S
        Thank you for your guidance and i would like to make this point clear that the intention is to get the problems solved and not to get the code, since from the previous replies we didn't actually get any solution for our problem, thats why finally I've asked for the sample code.

        Please read How (not) to ask a question. Its hard to provide help when don't provide context and ignore questions in replies.