You could also use the special variable $. instead of $linenumber.not while looping over an array, only when reading lines from a filehandle.
In reply to Re^2: Help with regex
by tinita
in thread Help with regex
by ChuckularOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |