houseabsolute / DateTime-TimeZone

Time zone object base class and factory
https://metacpan.org/release/DateTime-TimeZone/
Other
9 stars 25 forks source link

Fix warnings on < 5.8.9 #4

Closed ribasushi closed 9 years ago

ribasushi commented 9 years ago

Explicitly assigning undef to a %SIG handler is not supported on < 5.8.9. This results in warnings, and leads among other things to a failure in the DBIC test suite.

A plain local() call is sufficient to "unset" the handler on all perls.