Einzelnen Beitrag anzeigen
Alt 03.08.2005, 18:40   #4
RaistlinMajere
Inventar
 
Registriert seit: 06.04.2001
Alter: 44
Beiträge: 2.343


Standard

das ist korrekt und dein lösungsvorschlag wäre daher auch eine möglichkeit. allerdings habe ichs mittlerweile über ein array etwas eleganter gelöst.

Code:
$runindex = 0;
my @page;

while (@row = $getHistory->fetchrow_array()) {
  $page[$runindex] = $root->new_page;
  $page[$runindex]->stringc($font2, 15, 306, 390, "hallo");
  $runindex++;
}
____________________________________
"Life is like a box of rockets," said the Marine. "You never know what you´re gonna ret."
Then he pulled the trigger of his BFG9000.
RaistlinMajere ist offline   Mit Zitat antworten