Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Mech::Perl and following links w/ null value

by ajinkyagadewar (Novice)
on Apr 19, 2012 at 06:32 UTC ( #965874=note: print w/ replies, xml ) Need Help??


in reply to Mech::Perl and following links w/ null value

Hi,
Let me try to help you out for the query you posted.
First thing is the module you might be using is WWW::Mechanize as pointed right by 'Corion' and 'tobyink'.
Second point is, follow link will help you only when link is provided in href tag, for example:

<a name="hotels" id="hotels" href="http://www.name.com/hotels/"></a>

In your case, onclick is calling a function which points to Jaavascript function.
Whenever this happens a url is created or the data is posted on site.
To get right visibility you can use Firebug or LiveHttpHeader (addons for Firefox) to get exact method that site uses to form the query and posting it to a server.

Check if this preliminary information helps you, otherwise you can reply to my post.

Regards, Ajinkya


Comment on Re: Mech::Perl and following links w/ null value
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965874]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (16)
As of 2014-11-24 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (143 votes), past polls