Thread Refrenzen und fetchrow_arrayref (5 answers)
Opened by Wastl at 2014-10-16 16:19

Raubtier
 2014-10-16 16:50
#177864 #177864
User since
2012-05-04
1076 Artikel
BenutzerIn
[default_avatar]
Lies DBI, Abschnitt zu fetchrow_arrayref:

Quote
Note that the same array reference is returned for each fetch, so don't store the reference and then use it after a later fetch.


Also musst du die Kopie selbst erzeugen, z.B. sollte gehen: push @res, [@$row];

modedit Editiert von GwenDragon: Link geƤndert, da nicht online in Perldoc
Last edited: 2014-10-16 17:15:37 +0200 (CEST)

View full thread Refrenzen und fetchrow_arrayref