Answer Posted / bhavani
Hash is an associative array where data is stored in
"key"->"value" pairs.
Eg : fruits is a hash having their names and price
%fruits = ("Apple", "60", "Banana", "20", "Peers", "40");
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is a chop() function in perl?
What is eval function in perl?
What is the peculiarity of returning values by subroutines in perl?
How to add elements in a hash in perl?
what is the function that is used to identify how many characters are there in a string?
How to open and read data files with Perl
What rules must be followed by modules in perl.
If you want to empty an array then how would you do that?
What is Perl?
Explain what is STDIN, STDOUT and STDERR?
How can arrays be tied?
Distinguish my and local?
Write a program to decode the data in the form using cgi programming
What's the difference between /^Foo/s and /^Foo/?
What does read () command do?