Re: fancy sorting



Torsten Schoenfeld writes:
On Wed, 2004-03-31 at 06:26, muppet wrote:
What do you guys think?  Any ideas on how to improve this?

Just a humble attempt to find and kill all C-style for-loops. :-)

So a silly question (that I could probably answer with some Googling,
but I'm on the ferry without net...):

It's my impression that

   for my $i (0..65535)

will create a 65536 element list before iterating $i through it. If
that's the case, why prefer that form over the C style?

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]