Inspired by the answer here: How do I read UTF-8 with diamond operator (<>)?$ perl -lnE 'BEGIN { eof(); binmode ARGV, ":encoding(cp936)";} say' a. +txt b.txt
In reply to Re: binmode and one-liners
by kevinxie
in thread binmode and one-liners
by BrowserUk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |