Apologies, if this has been discussed already.
I am very curious to know about the perl's internal behavior of the array assignment in the above code. How the Value 7 is assigned to the array, and why not 2 and 3 is not assigned to the array ?use strict; my @one = 7,2,3; print "@one\n"; Output :- 7
In reply to array assignment with list operator , no parenthesis by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |