XP is just a number | |
PerlMonks |
Re: Sequential data read in MySQL/Perlby choroba (Cardinal) |
on Jul 06, 2016 at 21:34 UTC ( [id://1167336]=note: print w/replies, xml ) | Need Help?? |
Hi justin423, Having read your question several times, I can't make heads or tails from it. What is the schema of the database table? How do you store REC2 DATA3 DATA4 2 DATAX with 5 columns and RECZ 5 DATAX with 3 columns? Also, what do you mean by (NEW VALUE) ? Why is the first RECZ numbered with 5, but there's no number for the second RECZ? If you just want to know how to persist a value across several iterations of a loop, the answer is simple: declare a variable before the loop.
In Section
Seekers of Perl Wisdom
|
|