in this simple example. i am not able to figure what is the bitwise funtion doing:
my @subArray = grep { $_ & 1 } @array; what is the significance of 1 here? is this equivalent? { 1 & $_ } does the EXPR inside grep's curly braces have to produce the grepped text or just a true false value? i thought like in regular shell it produces whatever it grepped. thx.