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
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?
Explain splicing of arrays?
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
Comment on the scope of variables in perl.
Who created perl?
In CPAN module, name an instance you use.
What is boolean context?
what are steps to do to lock the sony ericsson mobile with password?
Differentiate between arrays and list in perl.
You want to connect to sql server through perl. How would you do that?
How do find the length of an array?
What does next statement do in perl?
How many types of primary data structures in Perl and what do they mean?
What is the difference between die and exit in perl?
Explain the difference between "my" and "local" variable scope declarations. ?