Basically you can`t do this. Or try to use http://search.cpan.org/~claesjac/JavaScript-1.11/lib/JavaScript.pm Before you need cut Javascript from HTML, and maybe cleanup it, for better usage.
2009/2/23 Amel Kapetanovic <[email protected]> > Hi, > > I am trying to access from perl to HTML documents (LWP), and I want to > get the result of some JavaScript functions, which are in the HTML page, > simply like > > document.write('hello'); > > Could someone please help me? > > Thanks, > Amel > > > -- Sergey Andreev
