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 the use of –w?
What are the steps involved when the cgi program starts running?
What is automatic error handling in perl?
How and what are closures implemented in perl?
Explain ivalue in perl?
What is lexical variable in perl?
Where do we require ‘chomp’ and what does it mean?
What does read () command do?
How do I pass a command line argument in perl?
What are the different string manipulation operators in perl?
How to dereference a reference?
How to read file into hash array ?
What is use of ‘->’ symbol?
What are different data types that perl supports. Elaborate on them.
Differentiate between arrays and list in perl.