in reply to Arrays and Strings in Hashes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hashes and String Variables
by mr_p (Scribe) on Jun 14, 2010 at 00:33 UTC | |
by mr_p (Scribe) on Jun 14, 2010 at 01:06 UTC | |
by toolic (Bishop) on Jun 14, 2010 at 02:10 UTC | |
by mr_p (Scribe) on Jun 14, 2010 at 14:01 UTC | |
|
Re^2: Hashes and String Variables
by mr_p (Scribe) on Jun 14, 2010 at 15:07 UTC | |
by ikegami (Patriarch) on Jun 14, 2010 at 17:34 UTC |