Hash

106 108
Definition: A hash in perl is an ordered group of scalars. They are contained in a set of key / value pairs. Each value can be accessed by it's corresponding key. The hash is assigned an array name, preceded by the % character. The array name may only contain letters, numbers, or the underscore character.

%sampleHash = ("name" => "Larry", "phone" => "111-111-1111");
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.