miniperl can't load Tie::Hash::NamedCapture, and as minitest is run if you
have build problems sufficiently severe that you can't bootstrap, it seems
unlikely that the advanced and obscure functionality of the regexp engine is
your most important concern. Hence better to skip it, than to try to bend it
to "portability".
BEGIN {
+ if (!defined &DynaLoader::boot_DynaLoader) {
+ print "1..0 # Skip miniperl can't load Tie::Hash::NamedCapture, need for %+ and %-\n";
+ exit 0;
+ }
chdir 't' if -d 't';
@INC = ('../lib','.');
do "re/ReTest.pl" or die $@;
BEGIN {
+ if (!defined &DynaLoader::boot_DynaLoader) {
+ print "1..0 # Skip miniperl can't load Tie::Hash::NamedCapture, need for %+ and %-\n";
+ exit 0;
+ }
chdir 't' if -d 't';
@INC = ('../lib','.');
do "re/ReTest.pl" or die $@;