This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
new perldelta
[perl5.git] / t / re / alpha_assertions.t
CommitLineData
e7206367
KW
1#!./perl
2
3use strict;
4use warnings;
5no warnings 'once';
2abbd513 6no warnings 'experimental::vlb';
e7206367
KW
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";