TISON has asked for the wisdom of the Perl Monks concerning the following question:

oneliner "perl -e '...'" doesn't enable utf-8 encode by default, any idea to set perl use utf-8 encoding/unicode by default?

Replies are listed 'Best First'.
Re: How can I set binmode in oneliner
by Anonymous Monk on Sep 23, 2018 at 05:00 UTC
      thanks! that works for me