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
Explain subroutine in perl?
What is the use of –w?
What are the different ways to run cgi?
Write a program to show the process of spawning a child process
How would you ensure the re-use and maximum readability of your perl code?
Explain substr function in perl?
What are numeric operators in perl?
What does next statement do in perl?
Write a program to decode the data in the form using cgi programming
What are the different types of perl operators?
Explain the meaning of closure in perl.
Explain which feature of PERL provides code reusability?
Can you add two arrays together?
What are the two ways to get private values inside a subroutine?
what is Polymorphism in Perl?