Hashes associate strings with scalars. References to arrays are scalars, so that's no problem.
my %hash = ( url => 'http://www.example.org/', newArray => [], lastArray => [], );
Mind you, newArray and lastArray are awful names for variable.
In reply to Re: Hashes and String Variables
by ikegami
in thread Arrays and Strings in Hashes
by mr_p
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |