Thread Buchstaben zählen
(5 answers)
Opened by Gast at 2007-05-13 16:20
my $text = "Hello World!";
my $len = length($text); print "Textlaenge: $len"; ----- Textlaenge: 12 oder my $text = "Hello World!"; my $len = 0; $len++ for split(//, $text); print "Textlaenge: $len\n" ----- Textlaenge: 12\n\n <!--EDIT|opi|1179063747--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |