I'm not very sure if it works.
I'd rather concentate the whole thing.
$Hash{"User"} = $ANumber;
$Hash{"Page"} .= $ANumber;
$Hash{"NumTimesVisited"} .= $ANumber;
Also note that you should be using $ in your HashKey calls!
--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]
From: "Sean Rowe" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "Beginners@perl. org \(E-mail\)" <[EMAIL PROTECTED]>
Subject: Hash Question
Date: Fri, 6 Dec 2002 08:29:37 -0600
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
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]