Personally, I don't like any source filters, but other people have different ideas about them. I tend to think they are just asking for trouble (and may be an example of how Perl is too flexible).
Still, people like to play with those. I've never really longed for a switch statement, so I don't mind either way as long as it doesn't show up in my production code. :)
--
brian d foy <bdfoy@cpan.org>
| [reply] [Watch: Dir/Any] |
well, source filters which do some-encoding=>utf8 conversion are perfectly valid and I use those without fear, when write Russian perl programs, and they transparently do goood unicode work.
use encoding cp1251=>Filter=>1;
print "here is russian string, which just work, despite its not utf-8"
+;
| [reply] [Watch: Dir/Any] [d/l] |