[HTTP-Recorder] Fw: Problem:Can't locate object
method "query_param" via package
Alex Kapranoff
kappa at rambler-co.ru
Thu Dec 1 11:21:23 EST 2005
* Michael Peters <mpeters at plusthree.com> [December 01 2005, 18:00]:
> guruprashadminhas at hsbc.co.in wrote:
> > also is
> > there any way to make HTTP recorder work/handle Java Scripts.
>
> There sure is. Write a JavaScript interpreter in Perl that can also parse HTML
> (and CSS) and create a Document Object Model. But make sure it's configurable so
> that it can behave like either IE, or Mozilla (or Safari or Opera, etc).
>
> So it can be done, but it's a monumental task. It basically means that you need
> to write an entire browser in Perl with no visual components.
One can use an Open Source JavaScript engine to ease the task.
Basically, bricks are there on CPAN: parse HTML to DOM, employ
Spidermonkey to execute the included scripts to emulate a Gecko-based
browser without visuals, keyboard or mouse.
But the task is of course nevertheless monumental.
--
Alex Kapranoff,
$n=["1another7Perl213Just3hacker49"=~/\d|\D*/g];
$$n[0]={grep/\d/,@$n};print"@$n{1..4}\n"
More information about the HTTP-Recorder
mailing list