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

Hash/Associative array is the one in which all
the values are stored in terms of keys and values.

i.e., the values are indexed with the help of keys.
You cannot get back the values in a correct order as it
happens in normal array. because in this values are stored
in random positions. The only way to get in a correct order
is to sort that array.

ex: %hash = {"Name","Raghav","Age","26"};
$hash{'Name'} will give "Raghav"
$hash{'Age'} will give "26"

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you use Perl warnings and what is the importance to use them?

1024


You want to read command-line arguements with perl. How would you do that?

950


What is perl dbi?

933


Define say() function in perl?

1017


Explain returning values from subroutines?

1003


Which functions in perl allows you to include a module file. State their differences.

1015


Explain the meaning of perl one-liner?

1116


Explain a tell function in perl?

1018


Explain chomp, chop, cpan, tk.

996


Explain lists and ivalue?

1009


What is 'rollback' command in perl?

1001


What does the qq{ } operator do?

1013


What does last statement do in perl?

1071


How to check the status of airplane mode (enable/disable) in perl for Android mobile?

3137


What is it meants by '$_'?

951