According to Luke Palmer: > for ( grep { $_{smoker} and $_{age} > 18 } @Subscribers ) { > .send($Cigarette_Advertisement) > }
Hm, would this work too: for ( grep { .{smoker} and .{age} > 18 } @Subscribers ) { .send($ciggie_ad) } ? I think .{x} reads better than $_{x} , esp. in parallel with the method call in the same loop. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "It furthers one to have somewhere to go."