Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -l -- use Encode ; print $Encode::VERSION; decode(q/UTF16-LE/, $f=qq/\xff\xff/, Encode::FB_QUIET() ); print 'bye'; __END__ 2.51 UTF-16LE:Unicode character ffff is illegal at .../site/lib/Encode.pm l +ine 176.
I kinda thought it would warn and not die :/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: does Encode::FB_WARN() / Encode::WARN_ON_ERR() / Encode::FB_QUIET() die for you?
by Athanasius (Archbishop) on May 13, 2013 at 13:35 UTC |