Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: web mechanize issue with javascript...

by bart (Canon)
on May 01, 2006 at 08:06 UTC ( #546655=note: print w/replies, xml ) Need Help??


in reply to Re: web mechanize issue with javascript...
in thread web mechanize issue with javascript...

Yes, Win32::IE::Mechanize does do Javascript. It behaves a little oddly: code like document.write(...); includes both the original Javascript, as the generated result, in the "source". So it can't be a true compatible replacement for WWW::Mechanize... Once you take that behaviour into account, it works out very well.

An obvious limitation is that it only works on Windows, and you need an install of MSIE. But, given the former, the latter comes as a given. ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://546655]
help
Chatterbox?
[atcroft]: PriNet: Those code bits worked for me, with test hashes, but I didn't test it with more than a few simple test cases. *shrug* Had hoped it would help, at least.
[PriNet]: i think i found the problem, the "source" array that sets the individual key values isn't being cleared, it's keeping the previous values...
[atcroft]: PriNet: You might consider posting a small, self-contained snippet of that segment of your code, and see if someone else has a better idea.....
[atcroft]: PriNet: Ahhh... interesting.
[PriNet]: small would be a problem *heh*... the program reads all the lines from a pdf and converts the individual colum data to a seperate key/value pair... that's where the "previous" array from the pdf is not being cleared properly before reading the next pdf

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-06-28 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.