- or download this
for(my $i = $start; $i < leonardo($order);$i++){
print "$$tab_ref[$i]\n";
}
- or download this
for my $i ($start .. leonardo($order) - 1) {
print "$$tab_ref[$i]\n";
}
- or download this
print "$$tab_ref[$_]\n" for $start .. leonardo($order) - 1;
- or download this
use strict;
use warnings;
...
print "bar($y)\n";
return $y;
}
- or download this
19:23 >perl 1378_Smoothsort.pl
bar(5)
...
foreach loop: 4
19:23 >