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 / 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


Please Help Members By Posting Answers For Below Questions

Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?

970


Explain splicing of arrays?

918


We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?

2477


Comment on the scope of variables in perl.

930


Who created perl?

919


In CPAN module, name an instance you use.

961


What is boolean context?

994


what are steps to do to lock the sony ericsson mobile with password?

2205


Differentiate between arrays and list in perl.

992


You want to connect to sql server through perl. How would you do that?

930


How do find the length of an array?

1134


What does next statement do in perl?

993


How many types of primary data structures in Perl and what do they mean?

1413


What is the difference between die and exit in perl?

1002


Explain the difference between "my" and "local" variable scope declarations. ?

1066