Unpack in scalar context should return the first value
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 19 Oct 2001 23:16:06 +0000 (23:16 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 19 Oct 2001 23:16:06 +0000 (23:16 +0000)
commitbf80f5a2c0a23d1b580bf7b35d9ad8d922d88ebd
treeded9f242c86aad9a4cb8ae24c12425dda0f78328
parentf3298698649960f55687abba6097c0cc3538214a
Unpack in scalar context should return the first value
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
t/op/pack.t