Respect 'use bytes' in returning $! and $^E
authorKarl Williamson <public@khwilliamson.com>
Thu, 17 Oct 2013 03:25:26 +0000 (21:25 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 27 Nov 2013 04:03:40 +0000 (21:03 -0700)
commita6c83041cf6cd2db8b2df9625081f214af8bc56a
treee011cd16299b0c0b59155b20ebe30afd1fea1870
parent99461a735b1477d9f175ff3696b07e9c18fb5e34
Respect 'use bytes' in returning $! and $^E

This addresses some of the field problems caused by commit
1500bd919ffeae0f3252f8d1bb28b03b043d328e, but by no means all.
If the stringification of $^E or $! is done in the scope of 'use bytes',
the UTF-8 flag on the result is now never set.  In such scope, the
behavior is then the same as it was prior to that commit.  The actual
behavior will change before v5.20 ships.
mg.c