At 10:37 PM -0700 12/10/02, Luke Palmer wrote:
Why use regexen when you can just use junctions?
my $foos = 'foo' ~ any(0..9) ~ any(0..9);
...
We have a I<powerful> language on our hands, people.
Agreed, but this solution doesn't work well for all cases. For example,
what if I want to iterate through the values foo000001 .. foo999999,
breaking out when some limit condition is reached. Generating and
sorting the entire list seems a bit wasteful...
-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm - my home page, resume, etc.
http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection