develooper Front page | perl.beginners | Postings from December 2002

Hash Question

Thread Next
Sean Rowe
December 6, 2002 06:31
Hash Question
Message ID:
I need to keep track of a user, all the web pages a user has visited, and
the number of times the user visited each page.  I get my information from a
log file.  Here's how I would like to say it programmatically:

	$Hash{"$User"}{"$Page"}{"$NumTimesVisited"} = $ANumber;

Is this possible?  If so, how would I traverse this, as I will not know
before hand the values in the hash; I will need to use something like sort.
Thank you.

Sean Rowe

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About