note
kiruthika.bkite
Hash maintains the data as key-value pairs.<br>
The data which is left to the operator '=>' is known as key.<br>
And the data which is right to the operator '=>' is known as value.<br><br>
Using keys you can get the value of a particular key in a hash in the following way.<br>
$hash{'key'} <br><br>
And keys should be unique.<br><br>
In your case 'username' is a key and 'phone number' is a value.<br>
So using username you can get the phone number of the user.<br>
So,$friend{'username'} will give the phone number.<br>
836141
836141