in reply to HTML::Entities question
A little hard to understand what you are doing but if you just want to get all the ASCII chars not in a short list you would just:
cheersmy @unsafe = qw ( < > " ' ); my %unsafe; @unsafe{@unsafe} = @unsafe; # make a hash lookup table for (1..255) { push @safe, chr($_) unless defined $unsafe{ chr($_) }; } print @safe;
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HTML::Entities question
by skazat (Chaplain) on Oct 28, 2001 at 00:57 UTC | |
by skazat (Chaplain) on Oct 28, 2001 at 01:12 UTC |