in reply to Re: Extracting stylesheet links or url from HTML Page
in thread Extracting stylesheet links or url from HTML Page

I am concerned about speed.

I was able also able to parse using HTML::TokeParser::Simple. So now I have three ways of doing this. Can you please guide me to which is the best way for me to do this based on speed and reliability (updates) etc..

1. use HTML::TokeParser::Simple 2. use XML::Twig; 3. use XML::LibXML;

Thanks.

Replies are listed 'Best First'.
Re^3: Extracting stylesheet links or url from HTML Page
by ww (Archbishop) on Jun 24, 2010 at 17:02 UTC
    Not really!

    The specific criteria present enough of a challenge; the "etc." is the skunk in the woodpile. Unless we know which elements of et cetera you really care about, we can't chose for you.

    That said, another valid answer is "Pick one and if it works for you, its probably right for you... at least for now."

    You can't profile, test, or (uh-oh; here it comes: ) etc. until you've written the code.