Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Hmmm it is a neat script and I often have that experience that is does not take many lines to do something in Perl.

    But is the comparison to Java completely fair? Your script does not tell the whole story, since HTML::TokeParser::Simple (which does most of the job) is not shown.

    How would a similar program look in Java if a class of similar functionality existed in Java?

    ovid.Simple.HTML.TokeParser

    That would of course mean that we would also have to examine the modules and classes used by either of these
    • I also think this is a very elegant little script.

      Given that the problem is to Get the Job Done(tm), I'd say it's relevant whether HTML::TokeParse functionality is available in Java.

      Some or all of the functionality may be, but probably in a slightly more verbose version. And probably not as easily found, installed and used. As always, having done similar things before is an important factor (me, I wouldn't have the experience to look at HTML::TokeParser for this problem, but I might find it anyway).

      BTW,