map and grep weren't working correctly with lexical $_ in
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 8 Feb 2004 21:21:28 +0000 (21:21 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 8 Feb 2004 21:21:28 +0000 (21:21 +0000)
commit7cc47870397ebff757d126816a8d225e8c7f5e20
treead26d528dd7b26f67de8a47c0978bfc185e687bb
parent986f8adc220317ecfcf2c0eace5110e18382f196
map and grep weren't working correctly with lexical $_ in
scalar context, because pp_mapwhile and pp_grepwhile were using
their target as a temporary slot to store the return value.

p4raw-id: //depot/perl@22289
pp_ctl.c
pp_hot.c
t/op/mydef.t