On Friday, March 1, 2002, at 10:22 , John Edwards wrote:
> I think it lies in the history of programming. Traditionally for loops > look > like this (when written in perl) > > for($i=1; $i<=100; $i++){ > print "$i\n"; > } <from the Learning Perl book p63> One could write, as an alternative to for: $i=1; while ($i<=100) { print "$i\n"; $i++; } The difference is, as far as I can tell, is to have a format which is easier to read and understand... GmG -- Obviously I was either onto something, or on something. -- Larry Wall on the creation of Perl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]