develooper Front page | perl.perl5.porters | Postings from March 2003

[PATCH] lib/vmsish.t GMT bug fix

Thread Next
Craig A. Berry
March 25, 2003 20:53
[PATCH] lib/vmsish.t GMT bug fix
Message ID:
Since 5.8.0 everyone east of Greenwich has been getting test failures
with the "use vmsish qw(time)" tests in lib/vmsish.t. Somewhere along
the way I introduced a scoping bug in the test where it invokes the
pragma inside an eval (via, but since the pragma is
lexically scoped its influence does not propagate outward to the code
that expects it to be in effect. There were compensating errors that
caused this never to be noticed in timezones with a negative offset from

I've a attached a patch that corrects the problem and there are reports
that it now works on both sides of Greenwich.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About