Re: remote generators and a macro language proposal

2002-10-10 Thread Larry Wall
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 ) :

Re: remote generators and a macro language proposal

2002-10-10 Thread Chip Salzenberg
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

Re: remote generators and a macro language proposal

2002-07-22 Thread Luke Palmer
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) > }

remote generators and a macro language proposal

2002-07-21 Thread david nicol
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) } to do the filtering on the machine that holds the s