On Wed, Jul 31, 2002 at 10:21:48AM -0400, Nikola Janceski wrote:

> I have a data structure that I want to initialized with an empty anon. hash.
> 
> I know for arrays I can do:
> $DATA{$key1}{$key2} = [];
> 
> but what if I want it to be a hash?

$DATA{$key1}{$key2} = {};

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to