in reply to Further question: automating Javascript with Perl in browser?

diotalevi and PodMaster imply that it is possible to
Imply? (Javascript::SpiderMonkey)Re: Passing other variables to start handler in HTML::Parser is an example. Why you didn't see that I don't know.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: Further question: automating Javascript with Perl in browser?

Replies are listed 'Best First'.
Re^2: Further question: automating Javascript with Perl in browser?
by McMahon (Chaplain) on Jun 11, 2004 at 18:51 UTC
    I think I understand the example-- it does "eval" on some Javascript and passes the results back to the script that contains the eval statement, yes?

    But for my original example, I don't see what code I would have to eval, such that I actually cause the Javascript to do what it would do if I were to click on it with a mouse. The ultimate goal is to have a Perl script cause the same behavior in the browser as the mouse does.

    Apologies if I seem really dense here, this web stuff is definitely not my forte.