On 2012-11-25 14:13, Matthew Horsfall (alh) wrote: > On Sat, Nov 24, 2012 at 3:57 PM, Father Chrysostomos via RT > <perlbug-followup@perl.org <mailto:perlbug-followup@perl.org>> wrote: > On Sat Nov 24 08:16:13 2012, alh wrote: > > I see these as being sensible uses of iteration: > > > > for ('a'..'z', qw(cat dog mouse), 1..10) { print $_ } > > > > my @found = grep { $_ =~ /./ } 1..10; > > > > my %hash = map { $_ => 1 } 1..10*;* > > > > But should this iterate at runtime or be pregenerated as it is now? > > That’s a hard question. :-) > > > I suppose we could slap together a C version of less.pm <http://less.pm> > and then let users ;) Or add support for modifiers, like "a".."zzzzzzzzzzz":i ("i" for "iterator") -- RuudThread Previous