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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Unfair comparison? (Score:2)
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
Re:Unfair comparison? (Score:1)
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, a cool future direction this script could take, should the need arise, is as an ActiveX object embeded in Excel, maybe part of an HTML-clean-up macro or something.
How would a Java program do that?
Reply to This
Parent