Fixes test requiring perl 5.12

One of the tests used ..., which was introduced in perl 5.12, while everything else is compatible with perl 5.10.