[Israel.pm] לולאת for בפרל

Roey Almog (Infoneto Ltd) almog at infoneto.co.il
Sun Oct 13 00:59:23 PDT 2013


Hi, just to add my 2 cents...

In my case (win32) but probably on all platforms writing the loop as:

for my $i (0..9) {...}

is faster (both in that it takes less time to write and less time to
execute...) then writing it as:

for (my $i=0; $i <= 9; $i++) {... }

may be someone can say if there is a reason why using the c stile loop is
better ?

Roey



On Sun, Oct 13, 2013 at 6:53 AM, Gabor Szabo <gabor at szabgab.com> wrote:

> New Perl Tutorial entry translated to Hebrew by Uri Bruck:
>
> http://he.perlmaven.com/for-loop-in-perl
>
> Gabor
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://mail.perl.org.il/mailman/listinfo/perl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20131013/6a024df3/attachment.htm 


More information about the Perl mailing list