in reply to How can increase number sequence in a variable
For future reference, what you want to do is to use a "symbolic" or "soft" reference; see perlref. And yes, this is Officially Frowned Upon and yes, you probably want to use a hash or some other "hard" referencing scheme; see also perldsc.
Give a man a fish: <%-{-{-{-<
|
|---|