The pack function is one of those many built-in functions that is much improved by being wrapped with a fatalizing envelope. Something as simple as this should suffice:
That will catch a lot of bugs that risk being carelessly ignored.*CORE::GLOBAL::pack = sub ($@) { use warnings FATAL => "pack"; return CORE::pack(shift(), @_); };
Hope this helps.
In reply to Re^2: Simplest Possible Way To Disable Unicode
by tchrist
in thread Simplest Possible Way To Disable Unicode
by JapanIsShinto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |