Tips & Tricks (programming)

After switching my system from koi8-r to utf8 I notice perldoc doesn't show Russian in perl module documentation (POD). I've played with different perldoc options, tried to select different backend perl modules responsible for encoding support in POD, tried to convert POD in modules between koi8-r and unicode, tried to use =encoding POD command - all these things doesn't work. Looks like this feature really broken now. So, here is simple solution: small wrapper script for perldoc (save it to /usr/local/bin/ or ~/bin/). It require enca tool to detect/convert encodings. If you use Gentoo: emerge enca