That would be 

our %hash = ();

Remember that when you assign a value to a hash, you supply a list of keys
and values separated by commas (or the => operator in place of a comma, if
you prefer).  So if you supply an empty list you are declaring an empty
hash.

-----Original Message-----
From: Johnstone, Colin [mailto:Colin.Johnstone@;det.nsw.edu.au]
Sent: Wednesday, November 06, 2002 3:15 PM
To: '[EMAIL PROTECTED]'
Subject: Declaring a Hash


Gidday all,
 
How does one declare a hash
 
our $hash = ();

Colin Johnstone 


 

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

Reply via email to