Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to execute JavaScript in Perl?

I've worked some years now in Perl building Web scrapers, and given the problem that spam represents, and how scraping Web pages would turn out to be much more easier to those folks if, for example, Perl's LWP::UserAgent could handle its cup of JavaScript, I'm amazed no one has built a JS engine for it yet.

What am I missing here?

Thanks in advance. Regards.

PS: I'm not a spammer. Just curious.

like image 262
Daniel Avatar asked Jan 22 '11 11:01

Daniel


1 Answers

Would you mean something like JavaScript::SpiderMonkey, a Perl interface to a JavaScript engine used by Mozilla?

like image 50
KooiInc Avatar answered Sep 30 '22 23:09

KooiInc