laziness, impatience, and hubris | |
PerlMonks |
Re: Parsing HTML source that contains JavaScriptby mrbbking (Hermit) |
on May 09, 2002 at 12:16 UTC ( [id://165349]=note: print w/replies, xml ) | Need Help?? |
JavaScript is interpreted and executed by your web browser.
When you use Perl to get the same page, you just get the text of the page - there is no provision to execute any JavaScript that the page might contain. You noticed that print $content; does not show you the date and time, only the JavaScript that *would have* produced it, had it been executed. That's why you can't find it ... it's not there...
In Section
Seekers of Perl Wisdom
|
|