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 lexical variable in perl?
What is the use of "stderr()"?
Explain about typeglobs?
Mention the difference between die and exit in Perl?
How can you replace the characters from a string and save the number of replacements?
How many types of operators are used in the Perl?
How does a “grep” function perform?
Explain USE and REQUIREMENT statements?
What does -> symbol indicates in Perl?
What is the easiest way to download the contents of a URL with Perl?
What is the syntax used in Perl grep function?
What are prefix dereferencer? List them.
What is the purpose of redo statement?
You want to add two arrays together. How would you do that?
How and what are closures implemented in perl?