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

Re: WWW::Mechanize and javascript

by bbfu (Curate)
on Mar 23, 2004 at 22:03 UTC ( #339224=note: print w/replies, xml ) Need Help??

in reply to WWW::Mechanize and javascript

There's a Javascript module on CPAN, but it interfaces to libjs, so you'll need that.

In my experience, however, it's usually easier to simply look at the javascript code in the page, and use perl to emulate whatever calculations or changes the javascript would accomplish. Usually it's little more than setting a particular form value.

Black flowers blossom
Fearless on my breath

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://339224]
[erix]: o/
[erix]: I'm a bit stuck with regex capturing. Anyone wants to ahve a look at my [erix://pad | scratchpad ? (it's the little test program at the top there)]
[erix]: hm [erix://pad]
[erix]: pad::/erix
[erix]: erix's scratchpad
[erix]: ah! ;)
[erix]: I'm trying to capture some detail from user input I'm pretty sure I have done this before

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2018-01-19 08:07 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (216 votes). Check out past polls.