in reply to Local Vs...

You can't create a lexical variable that refers to a single element of an array. Did you try it? I get the following compilation error:

Can't declare array element in my at ./test.pl line 5, near "];"
--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."