This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bignum overrides.t: Fix for 5.8
authorFather Chrysostomos <sprout@cpan.org>
Thu, 4 Oct 2012 16:15:10 +0000 (09:15 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 4 Oct 2012 16:37:59 +0000 (09:37 -0700)
commit9f275339d46b79cc64e0475bd96a56295e679eb2
treed3adccb51fdce1ae761346ca1bec27aaa6dd3a1a
parentd2585a2dbcf7b50d5840bc2df3e213d3bf238062
bignum overrides.t: Fix for 5.8

We use the ;$ prototype for testing global overrides under 5.8, as it
had no _ prototype.  But back then (before 5.14, in fact) ;$ did not
give a function unary precedence.

Comparing against 5.009004 in bigint scope is the same as comparing
against 5, resulting in incorrect version checks and skips being
skipped.
dist/bignum/t/overrides.t