Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a hash?

Answer Posted / bhavani

Hash is an associative array where data is stored in
"key"->"value" pairs.

Eg : fruits is a hash having their names and price
%fruits = ("Apple", "60", "Banana", "20", "Peers", "40");

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is v-strings?

1073


what are prefix dereferencer and list them out?

1038


How do I sort a hash by the hash key?

921


What is the usage of -i and 0s options?

997


How to compare two strings in perl?

948


What does perl do in linux?

948


Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?

1092


How do I replace every TAB character in a file with a comma?

969


How many types of operators are used in the Perl?

1035


How do I pass a command line argument in perl?

978


What is stdin in perl?

969


What is lexical variable in perl?

943


what are the two ways to get private values inside a subroutine or block?

943


What are the various file operations in perl. Explain with example.

953


What is the difference between perl list and perl array?

867