in reply to Knocking Down Pesky JavaScript Popups from WWW::Mechanize

Look on CPAN for JavaScript::. There are modules out there that can execute JavaScript, though I haven't personally used any of them.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated