Thread maximalwert ermitteln (18 answers)
Opened by kale_1990 at 2006-09-15 16:01

renee
 2006-09-15 16:33
#69932 #69932
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
CPAN:List::Util

oder:
Code: (dl )
1
2
3
4
5
6
7
8
my @array = qw(1 6 2 8 3 4);
my $max = $array[0];

for(@array){
$max = $_ if($_ > $max);
}

print $max;
\n\n

<!--EDIT|renee|1158332320-->
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread maximalwert ermitteln