$| = 1;
-print "1..73\n";
+print "1..74\n";
use charnames ':full';
}
sub to_bytes {
- pack"a*", shift;
+ unpack"U0a*", shift;
}
{
1 while unlink $alifile;
}
+# [perl #30409] charnames.pm clobbers default variable
+$_ = 'foobar';
+eval "use charnames ':full';";
+print "not " unless $_ eq 'foobar';
+print "ok 74\n";
+
__END__
# unsupported pragma
use charnames ":scoobydoo";