http://www.perlmonks.org?node_id=339224


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.

bbfu
Black flowers blossom
Fearless on my breath