On Tue, Jul 13, 2004 at 03:31:57PM +0200, Michele Dondi wrote: > Put more clearly, it is now common to see things like: > > for my $x (1..10) { > for my $y (5..20) { > for my $text (qw/foo bar baz/) { > do_stgh_with $x, $y, $text; > } > } > } > > and it would be very much in the phylosophy of Perl to allow for a very > concise syntax to obtain the same effect. I am aware of the zip operator, > but AFAICT it solves an equally common but completely different problem...
Are you sure? for zip(1..10, 5..20, <<foo bar baz>>) -> $x, $y, $text { do_something_with $x,$y,$text; } -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]