#!perl -w
$|=1;
BEGIN {
print "1..0\n";
exit 0;
}
}
use Safe 1.00;
pass;
# Expression that triggers require utf8 and call to SWASHNEW.
# Fails with "Undefined subroutine PLPerl::utf8::SWASHNEW called"
# if SWASHNEW is not shared, else returns true if unicode logic is working.
# return a closure
# define code outside Safe that'll be triggered from inside
my @warns;
my $msg = shift;
# this regex requires a different SWASH digit data for \d)
# than the one used above and by the trigger code in Safe.pm
};