A list and an array are not the same. You can't take a reference to a list. The syntax \(...) is a shorthand way to take references to several variables at once. This is mentioned in perlref somewhere (look for "list")
In reply to Re: difference between \() and []
by duff
in thread difference between \() and []
by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |