in reply to
Re^2: (nrd) When does XML get to be too much?
in thread When does XML get to be too much?
I was originally going to use a DB_File (Any_DBM, actually) database, but as far as I know, they don't allow for HoHs.
Although, as gjb suggested, you can use MLDBM or you can use Data::Dumper or Storable to serialize your data structure by hand, the truth is that you don't even need an HoH in your case. You are storing the same data for each IP: visits and a timestamp. I would just store the two values in a single scalar delimited by a non-digit character of your choosing. (Consider using a comma, space, colon, semicolon, or pipe symbol as they are all commonly used for this kind of thing.) The right rule of thumb to follow in this case is "keep it simple."
"My two cents aren't worth a dime.";