my ( $key, @line_array ) on the previous line creates a new variable each time through the loop so it is safe to use a reference to this variable. If the variable was in a larger scope then what you describe would be a problem.
In reply to Re^3: Opening an array of file names
by jwkrahn
in thread Opening an array of file names
by tnyflmngs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |