I can't even think of why you wouldn't want to use an object-oriented interface for this sort of task. The new parses the incoming data into some sort of workable form that is stored to have methods called upon it. This reduces the amount of work each method needs to do since you'd otherwise need to do some sort of parsing for each and every sub called. I just don't see any valid reason you would want to use anything else. Sorry if I'm being a bit daft.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: Cleaning up HTML tags
by antirice
in thread Cleaning up HTML tags
by cleverett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |