then next time( in the while loop ) I want to print A000002 in the next iteration A000003... etc. Do I have to save the value A000001 inside an array or a scalar?? Thanks so much....while(<>){ print " C=A000001\n"; }
In reply to make a counter by agustina_s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |