Google News
logo
Perl - Interview Questions
How the information can be inserted into the hashes in Perl?
There is no literal representation in the content of a hash. The users have to make sure that the unwinding of hash before it is actually filled with the data. The value pairs can be created simply and they can then be converted. In the process of conversion, the hashes can be selected randomly.
 
(OR)
 
This hash in this programming language is a group of key values. These are scalar values. The hashes are used after a % sign and can be created only by assigning a value to it.
 
For incorporating information in hashes, the key-value pairs should be created which is known as the unwinding of hash. In this case, the even number items are listed on the right called values, and the ones stored on the left are termed as keys.
Advertisement