On Thu, 10 Oct 2002, Chip Salzenberg wrote:
: 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 )
:
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} read
From: david nicol [EMAIL PROTECTED]
> foreach (grep { $_->{smoker} and $_->{age} > 18 } @Subscribers){
> $->send($Cigarette_Advertisement)
> }
>
> This would imply an extension of the array tieing
> interface, so we can send the grep block to the
> data server, and get b
On Mon, 22 Jul 2002, david nicol wrote:
>
> The thought process went something like this.
>
> In a world of distributed perl data, we want an
> expression like
>
> foreach (grep { $_->{smoker} and $_->{age} > 18 } @Subscribers){
> $->send($Cigarette_Advertisement)
> }