View Single Post
Go4Expert Member
29Jan2008,13:48  
oleber's Avatar
Correct to:

## HASH REFERENCE
my $hash_ref = {}; # reference to an empty hash


And add


dereference:
my $copy = %$hash_ref;

and the syntax sugar
my %hash = (
23 => 'pradeep',
26 => 'shabbir',
34 => 'asha',
15 => 'tanaz');