1#!./perl 2 3use strict; 4use warnings; 5no warnings 'once'; 6no warnings 'experimental::vlb'; 7 8# This tests that the alphabetic assertions, like '(*atomic:...) work 9# It just sets a flag and calls regexp.t which will run through its test 10# suite, modifiying the tests to use the alphabetic synonyms. 11 12BEGIN { $::alpha_assertions = 1; } 13for my $file ('./re/regexp.t', './t/re/regexp.t', ':re:regexp.t') { 14 if (-r $file) { 15 do $file or die $@; 16 exit; 17 } 18} 19die "Cannot find ./re/regexp.t or ./t/re/regexp.t\n"; 20