Thread Zugriff auf best. Elemente in Arrayreferenz: Arrayreferenz (22 answers)
Opened by Duff at 2006-11-08 16:50

Duff
 2006-11-09 15:16
#71571 #71571
User since
2006-10-06
283 Artikel
BenutzerIn

user image
Danke, genau sowas meinte ich.

Habe es so gelöst:
Code: (dl )
1
2
3
4
5
6
7
8
foreach my $array ( @{$arrayRef} )
{
my @result;
while ($array->[1] =~ /irgendeinmatch/igm) {
push @result, $1. " --> " .$2. "\t";
}
printf "%-90s : %-s\n", $array->[0], join(" ",@result);
}


Kann man das Array @result auch "formatiert" füllen, wie z.B. mit printf?
D'OH
Daniel

View full thread Zugriff auf best. Elemente in Arrayreferenz: Arrayreferenz