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

what is Polymorphism in Perl?

931


What is the purpose of “_file_ literal” and “_line_ literal” in perl?

889


Explain returning values from subroutines?

903


How will you create a file in perl?

951


Explain perl one-liner?

925


There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"

2375


How to renaming a file in perl programming?

1001


How to read a single line from a file in perl?

939


What is the use of -n and -p options?

1007


Why is it hard to call this function: sub y { "because" } ?

904


List the files in current directory sorted by size ?

944


How do I generate a list of all .html files in a directory?

918


Explain join function in perl?

908


explain the various functions/directives in perl that allow you to include/import a module. Also, state the differences between them.

830


What exactly is grooving and shortening of the array?

981