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 "];"
"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: Local Vs...
by davorg
in thread Local Vs...
by ginju75
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |