in reply to $stat=qx## under utf8::all
or Encode::encode the string properly before you qx{} it
see perlunitut: Unicode in Perl#I/O flow (the actual 5 minute tutorial)
Also, qx## while legal is very irritating to me because # is for comments :P Maybe next time you can pick qx\\ because that is legal too
$ perl -MO=Deparse -E " say qx\echo it\ use feature 'current_sub', 'evalbytes', 'fc', 'say', 'state', 'switch' +, 'unicode_strings', 'unicode_eval'; say `echo it`; -e syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $stat=qx## under utf8::all
by Anonymous Monk on Oct 27, 2013 at 10:09 UTC | |
by Anonymous Monk on Oct 28, 2013 at 07:33 UTC |