require './test.pl';
}
-plan tests => 21;
+plan tests => 22;
is(reverse("abc"), "cba");
@a = reverse @a;
ok(!exists $a[2] && !exists $a[3]);
is($a[0] . $a[1] . $a[4], '985');
+
+ my @empty;
+ @empty = reverse @empty;
+ is("@empty", "");
}
use Tie::Array;