However, I am wondering how can I create an alias explicitly (without using any extra module).for (@arr) #Aliases $_ to each element in @arr { print; # prints the aliased value } $aref=\@arr; #Makes $aref reference to @arr
In reply to Alias vs Reference by cheekuperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |