Personally, I wouldn't have (mis)used state for such an optimization (nor would I have written in the pre-5.10 style). You want to start parsing from a clean state, and as such, the code should reflect this. Your code doesn't.my $hs = HTML::Strip->new(); sub clean_html { ... }
In reply to Re: Another Reason RTFMing Is A Good Thing
by JavaFan
in thread Another Reason RTFMing Is A Good Thing
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |