returned in list context, as pointed out by Ton Hospel
in 2001-05-21 (this is how it works already in blead,
just adding the test).
p4raw-id: //depot/perl@12515
#!./perl -w
-print "1..611\n";
+print "1..613\n";
BEGIN {
chdir 't' if -d 't';
my @u = unpack($t, $p);
ok(@u == 2 && $u[0] eq $u && $u[1] eq $v);
}
+
+{
+ # 612
+
+ ok((unpack("w/a*", "\x02abc"))[0] eq "ab");
+
+ # 613: "w/a*" should be seen as one unit
+
+ ok(scalar unpack("w/a*", "\x02abc") eq "ab");
+}