in reply to Re^3: Search function for guestbook history?
in thread Search function for guestbook history?

From my quick test, wsfp's (very excellent) code using HTML::TokeParser::Simple takes around 7 seconds to run the same test as my rather crude regex solution takes 2/10ths.

As you are processing your own, controlled data, you can choose either with a fair degree of safety. If you were processing html from another source where you didn't control the layout, the parser route would be preferable.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^4: Search function for guestbook history?