10 print "not " unless reverse("abc") eq "cba";
14 print "not " unless reverse() eq "raboof";
18 my @a = ("foo", "bar");
21 print "not " unless $b[0] eq $a[1] && $b[1] eq $a[0];
28 my $a = "\x{263A}\x{263A}x\x{263A}y\x{263A}";
29 my $b = scalar reverse($a);
30 my $c = scalar reverse($b);
31 print "not " unless $a eq $c;