Leser: 1
![]() |
|< 1 2 >| | ![]() |
14 Einträge, 2 Seiten |
my @Datum = qw( 12.4.2007 1.2.2007 31.8.2007 05.05.2005 );
1
2
3
4
5
6
@Datum =
map{ $_->[0] }
sort{ $a->[3] <=> $b->[3] ||
$a->[2] <=> $b->[2] ||
$a->[1] <=> $b->[1] }
map{ [$_,split /\./, $_] }@Datum;
1 2 3 4 5 6 7 8
my %seen; @Datum = map{ $_->[0] } sort{ $a->[3] <=> $b->[3] || $a->[2] <=> $b->[2] || $a->[1] <=> $b->[1] } map{ [$_,split /\./, $_] } grep{ !$seen{$_}++}@Datum;
map { $h{$_}++ == 0 ? $_ : () } @_;
map { $h{$_}++ == 0 ? $_ : () } @_;
map { $h{$_}++ == 0 ? $_ : () } @_;
QuoteThe pure-Perl implementation of these functions only serves as a fallback in case the C portions of this module couldn't be compiled on this machine.
[$_,split /\./, $_]
[ $_, split(/\./, $_) ]
![]() |
|< 1 2 >| | ![]() |
14 Einträge, 2 Seiten |