Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • thanks for the sample code. tried it. worked on cygwin (beats activestate and I dont have a *nix box online) after a bit of buggerising around with CPAN modules.

    One question though - why is it better to use regex's to extract data rather than to use a html parser?

    I ask this as I'm currently using re's to extract data from google and writing and debugging regex's takes up the most time.

    bootload [], groking softwa
    • It's better in this case because I wanted a quick (5 minutes, remember) and dirty solution to my problem.

      If you're extracting data from Google, you may want to look at the link functions in WWW::Mechanize, anyway. It does a lot of the parsing for you.