Either is correct. Since hash values must be scalars, perl can intuit the need to dereference for extra indexes or keys beyond the leftmost. Preference is strictly personal - use which syntax you like better.
After Compline,
Zaxo
In reply to Re: Re: Re: Help with references
by Zaxo
in thread Help with references
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |