That data structure requiring them to specify the whole hash is troublesome.## BEGIN CONFIGURE my @KEEP = qw(a p img br); ## END CONFIGURE ... ... # just before the business loop: my %keep; @keep{@KEEP} = (); ... ... "it's good" if exists $keep{$1}; # or whatever
-- Randal L. Schwartz, Perl hacker
In reply to RE: HTML Sanitizer (removes unwanted tags)
by merlyn
in thread HTML Sanitizer (removes unwanted tags)
by lhoward
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |