[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] resetting pointer to array in foreach loop
- To: <coldsync-hackers at lusars dot net>
- Subject: [coldsync-hackers] resetting pointer to array in foreach loop
- From: "Brian Johnson" <bjohnson at jecinc dot on.ca>
- Date: Thu, 21 Mar 2002 08:46:11 -0500
- Importance: Normal
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
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.