2009年3月22日星期日

environment variables for perl unicode

PERL_UNICODE=7 blt -Sc

this will avoid the warning "Wide character in print..." mentioned in cnhacktnt's detailed unicode message.

7 means 111, which will block warning of not encoded wide characters in STDIN, STDOUT and STDERR.
this is a walk around to refuse rewriting the source code of tools like blt(bash loves twitter).
actually it's not very easy to make bash to love twitter, for example to remember the module name  App::BLT need a lot of brain power.

没有评论: