Re: DocumentHTML ?
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 20:07:08 GMT
"~greg" <g_m@xxxxxxxxxxxxxxxxxx> wrote in
news:g--dnSqFTul-4XnYnZ2dnUVZ_oannZ2d@xxxxxxxxxxx:
When I saw that Mr Unur was telling me to use
Win32-IE-Mechanize instead, - I started dimming out.
When next I saw him telling me to "use warnings",
I started blanking out.
And when, finally, I saw that he'd added "use warnings" to my
original code -- but ---it seemed to me, when I skimmed over it, with
these old eyes, --- nothing else ..!..
Gentlemen, I'm old.
I glanced over the rest of the script and didn't notice
that any other changes had been made than the addition
of "use warnings".
I thought Mr Unur had "middle-posted" and left,
after telling me to use warnings.
As I wrote that message, I replaced your script with the copy-pasted
version of my script but gave no indication of the fact that I had changed
a single line in it.
That's my fault.
$IEWindow->Document->documentElement->{outerHTML};
is ideed exactly what I was asking for. It works.
(How ever did you find it?)
I wondered how Win32::IE::Mechanize did it and looked at its source code.
Microsoft has documentation on Internet.Application at msdn.microsoft.com.
The whole thing is really messy and I am not sure if you will able to do
better than Win32::IE::Mechanize (and if you are, I am sure we would all
appreciate your contributions).
On the other hand, that module helped me achieve a lot recently despite all
the warnings on CPAN. I am more worried about modules that don't tell me
their shortcomings up front.
Sinan
.
- References:
- DocumentHTML ?
- From: ~greg
- Re: DocumentHTML ?
- From: A. Sinan Unur
- Re: DocumentHTML ?
- From: ~greg
- Re: DocumentHTML ?
- From: A. Sinan Unur
- Re: DocumentHTML ?
- From: ~greg
- DocumentHTML ?
- Prev by Date: FAQ 7.19 Why doesn't "my($foo) = <FILE>;" work right?
- Next by Date: Re: LWP:Authen:NTLM
- Previous by thread: Re: DocumentHTML ?
- Next by thread: Re: DocumentHTML ?
- Index(es):
Relevant Pages
|