Google News
logo
Perl - Quiz(MCQ)
Which of the following function returns all keys of a Hash?
A)
values
B)
keys
C)
Both of the above.
D)
None of the above.

Correct Answer :   keys


Explanation : keys − You can get a list of all of the keys from a hash by using keys function.

Advertisement