OK, I have to say, You freekin' rule!
Thank you for this posting.
I recently ran into a situtation with !@#($*%! *.jsp
pages that perplexed me. (they were https so I couldn't even sniff the 'real' url strings,... )I could not retrieve a '3rd {post, i think} level deep in' of jsp pages with ANY 'text-based' system.
None of LWP, wget, lynx, links (all with SSL support) would work but i could retrieve the pages with any GUI browser, yes, the exact url failing with LWP pasted into 'any' browser window worked!? I think it has something to do with javabean sessions or something, (it's not cookies or javascript problem, but i'm no java programmer).
So anyway I had to do a 'yukk crude hack - non-cross platform' with retrieving said pages with IE, I was having a hell of a time trying to get Document->DocumentElement->InnerHTML to work, for some reason and then i found your above code. Thanks for taking the time to post this!!!!
maybe it doesn't have too big an audience but you should put this on cpan, it's handy for some situations where maybe nothing else well work.
I realize this is old, and you may have moved on to doing other stuff but i had to take the time to say thanks
| [reply] |