Thread seq (4 answers)
Opened by Gast at 2008-05-31 15:25

pq
 2008-05-31 16:58
#110522 #110522
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
Gast+2008-05-31 14:40:46--
Hmm, bleistiftweise
Code (perl): (dl )
perl -e 'for ($i=0;$i<=10;$i=$i+3){print "$i\n"}'

das geht kürzer =)
Code (perl): (dl )
perl -wle '$_%3||print for 0..10'
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread seq