in reply to Re^2: Puzzler - filtering characters
in thread Puzzler - filtering characters

You meant

... $text =~ s/[\000-\009]/ /g; ... }

But it does something like

... $text =~ s/[\000-\000]/ /g; # does nothing $text =~ s/[9]/ /g; ...

BTW, maybe it's sometimes much faster to use the tr/\000-\011/ / operator, but that may depend.

Regards

mwa