in reply to Another Reason RTFMing Is A Good Thing
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 { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Another Reason RTFMing Is A Good Thing
by Limbic~Region (Chancellor) on Oct 19, 2009 at 16:01 UTC | |
by JavaFan (Canon) on Oct 19, 2009 at 16:08 UTC | |
by Limbic~Region (Chancellor) on Oct 19, 2009 at 17:34 UTC |