Dan Muey wrote:
>
> >
> > In Perl that is usually written as:
> >
> > for $count ( 1 .. 5 ) {
> >     print "$count\n";
> > }
>
> Or even easier:
> for(1..5) { print; }
> Or if you nee the newline:
> for(1..5) { print "$_\n"; }

If we're competing, then there's

  print for 1..5

;)

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to