[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] resetting pointer to array in foreach loop



If I do a

foreach $record (@{$PDB->{records}}) {
}

and then later do a separate

foreach $record (@{$PDB->{records}}) {
}

it seems to cycle through the loop the correct number of times but only ever
lists the last values of $records from the first loop


Any help?


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.