Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mac-Errors CPAN distribution.

Report information
The Basics
Id: 4431
Status: resolved
Priority: 0/
Queue: Mac-Errors

People
Owner: Nobody in particular
Requestors: cnandor [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.91
Fixed in: (no value)



Subject: $^E unreliable
Substitute this for the FETCH routine: sub FETCH { my $errno = $^E+0; return $^E=$errno unless exists $MacErrors{ $errno }; return $MacErrors{ $errno }->description || $MacErrors{ $errno }->symbol; } Currently, in perl 5.8.x, $^E is unreliable after being accessed once. This is more robust anyway, but on any perl 5.8.x built without ithreads on Mac OS X, $MacError simply doesn't work for negative values, so this patch is critical.