I, personally, could use a lot more information. For instance:
- From your question, it seems you are going to allow
people to put their info, including ICQ number, into a form,
then your script will place that information into a table.
- Are you going to have a database backend for this, or
just flat files? If it is going to have relatively little
data and there isn't going to be much structure, a database
may end up being overkill, but you will have to decide that.
Flat files have the ease use, since Perl (Pathelogically
Eclectic Rubbish Lister that it is) is great at parsing text.
- Once you have the data set up, if flat file, you will
have to find a way to sort it. It looks like an array of
arrays may do you well, if you aren't going to have a lot of
data. Just have an array of ICQ entries, then each ICQ
entry will have an array of values (ICQ number, name, location,
etc). An array of hashes may also work. Each ICQ entry
will be a hash of key/value pairs (ICQ_num => 6969696, name
=> Joe Schmucketelli, etc). Calling this last will be easy:
@blah = (\%Schmucketelli,\%Schmoe, etc) and $Schmucketelli{$ICQ_num} = 6969696
, etc.
- Sorting shouldn't be too bad once you set this up.
I hope this helps. . .
J. J. Horner
Linux, Perl, Apache, Stronghold, Unix
jhorner@knoxlug.org http://www.knoxlug.org/