urgent help required on hashes
Posted on 2003-03-01
i have got three hash arrays as given below which contain data as described below.
the hash arrays have the data in them ahich i have stored already.
what i really want to do is to combine this three arrays in such a way that i get a resulting hash array or i get the output as website address followed by description followed by frequency followed by frequency.
the three hash arrays have the key as common i.e website address is same in this three hash arrays.
is there any way i could combine this 3 arrays so as to get the desired output.
should i use hashes of hashes.iam not really sure how to use them.
%urlHash = (); contains website address and description
%urlHash1 = ();contains website address and some words
%site=(); contains website address and frequency
i want the resukting hash
%result(); which will contain website address followed by description from urlhash array followed by frequency from site array then urlhash1 array.
then i want to sort this so that according to highest frequency i get the website first.
is this possible.please help.help would be very very appreciated.