This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make experimental.pm test agnostic about switch
authorZefram <zefram@fysh.org>
Fri, 29 Dec 2017 12:19:49 +0000 (12:19 +0000)
committerZefram <zefram@fysh.org>
Fri, 29 Dec 2017 12:19:49 +0000 (12:19 +0000)
commit14e4cec412927f1f65c5d2b21526e01b33029447
treef1b179e4f65675797f2a9b8cdc313731e0cca861
parent569476d57eacdb842220890e4e01ad479ec3667e
make experimental.pm test agnostic about switch

Anticipating imminent reversion of smartmatch behaviour, make
experimental.pm able to test against either version of the switch feature,
detecting empirically which version the running perl supports.
cpan/experimental/t/basic.t
t/porting/customized.dat