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
Explain perl. When do you use perl for programming? What are the advantages of programming in perl?
Is perl a case sensitive language?
How do I sort a hash by the hash value?
You want to concatenate strings with perl. How would you do that?
There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"
What does file test operators do in perl?
How do I do fill_in_the_blank for each file in a directory?
How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?
How to replace perl array elements?
How do you find the length of an array?
Differentiate use and require?
What are the steps involved in configuring a server using cgi programming?
There are some duplicate entries in an array and you want to remove them. How would you do that?
What is perl I used for?
Explain use of ‘my’ keyword in perl?