$ perl -e 'binmode STDOUT, ":utf8";'
$ perl -v
This is perl 5, version 20, subversion 3 (v5.20.3) built for x86_64-li
+nux-thread-multi
(with 16 registered patches, see perl -V for more detail)
Copyright 1987-2015, Larry Wall
Perl may be copied only under the terms of either the Artistic License
+ or the
GNU General Public License, which may be found in the Perl 5 source ki
+t.
Complete documentation for Perl, including FAQ lists, should be found
+on
this system using "man perl" or "perldoc perl". If you have access to
+ the
Internet, point your browser at http://www.perl.org/, the Perl Home Pa
+ge.
$
Does the first command work for you? If not, run the second and see how old your perl is.
If the first command does work for you (ie. doesn't throw an error) then you'll have to provide an SSCCE to illustrate the precise circumstance of your problem. (and probably start a new topic since it's not really specific to JSON anymore)
|