Leser: 1
9 Einträge, 1 Seite |
Time|Nick|Subject|Text
1 2 3 4 5 6 7 8 9 10 11 12 13
open(DAT,"<./datei.txt") || die $!; my @read = <DAT>; close(DAT); @read = map { getDate((split /\|/, $_)[0])."|". (split /\|/, $_)[1]."|". (split /\|/, $_)[2]."|". (split /\|/, $_)[3] } sort { (split /\|/, $b)[0] <=> (split /\|/, $a)[0] } @read;
1 2 3
sub _{s;;xrqIpiql\\{}p{pl{R>rl{N{}gjwpkssq]>rl{N;;;*{{}=*{_};; ${{}={q{{{}}}=>[reverse+split+reverse+q;}{;]};${{}->{q{{{}}}}->[@{{}];} ${{}=reverse+_(q{{}}=>q{{}})^chr(30)x+length&_(q{{}}=>,q{{}})and+print;
1 2 3 4 5 6
foreach(sort { (split /\|/, $b)[0] <=> (split /\|/, $a)[0] } @read) { my($time,$nick,$subject,$text) = split /\|/, $_; $time = getDate($time); $subject =~ s/.../.../g; push(@newarray, "$time|$nick|$subject|$text|"); }
1 2 3
sub _{s;;xrqIpiql\\{}p{pl{R>rl{N{}gjwpkssq]>rl{N;;;*{{}=*{_};; ${{}={q{{{}}}=>[reverse+split+reverse+q;}{;]};${{}->{q{{{}}}}->[@{{}];} ${{}=reverse+_(q{{}}=>q{{}})^chr(30)x+length&_(q{{}}=>,q{{}})and+print;
1
2
3
4
5
6
7
map {
$_->[0] = getDate($_->[0]);
$_->[2] =~ s/x/y/g;
join '|', @$_;
}
sort { $a->[0] <=> $b->[0] }
map { [ split /\|/ ] } @read;
1 2 3
sub _{s;;xrqIpiql\\{}p{pl{R>rl{N{}gjwpkssq]>rl{N;;;*{{}=*{_};; ${{}={q{{{}}}=>[reverse+split+reverse+q;}{;]};${{}->{q{{{}}}}->[@{{}];} ${{}=reverse+_(q{{}}=>q{{}})^chr(30)x+length&_(q{{}}=>,q{{}})and+print;
9 Einträge, 1 Seite |