Answer Posted / shah faisal
Hash is an unordered pair of keys and values where keys
must be unique else the second duplicate keys replace the
value of first key. Hash is denoted by a "%" sign.
e.g.
"key1"->"value1","key2"->"value2",key1"=>"value3" then
final hash will be %hash=("key2"-
>"value2","key1"=>"value3");
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.
How to close a file in perl?
What are the different string manipulation operators in perl?
Explain the functioning of conditional structures in perl.
How do I sort a hash by the hash value?
What is the difference between perl list and perl array?
What are perl array functions?
Write a program to show the process of spawning a child process
What is an interpolation in perl?
What is the difference between die and exit in perl?
Write a program to decode the data in the form using cgi programming
What does init 5 and init 0 do?
Explain the various characteristics of perl.
How to read a file into a hash array?
Explain '->' in perl?