I was originally going to write all the values that a form submitted to a text file, delimited by tabs and Carriage Returned, ready for the next submission. Now I've changed the structure of the site so that the valid keys to the submitted data are written to a file as the form is created online (it's complicated...I have an A0 page next to me showing which scripts send what data to which text files and other scripts and html pages- it's pretty daunting when looking at it on the whole). The keys are then read into an array and used in the same order they were read in as the key to the submitted data hash.
All your help has been invaluable so far- I couldn't have come this far without such great help. Thank you Brett and others. I'll be sure to show you the entire site when it is finished and on the web. -Shannon Murdoch > > On Thu, 25 Oct 2001, Shannon Murdoch wrote: > >> So I take it there is no way to list all the keys contained in a hash in the >> same order they were entered in, like I can with a normal array? > > Why do you need to? There is way by using the Tie::IxHash module. It is > available from CPAN (if you have the Perl Cookbook, there are also > examples in it) > > -- Brett > http://www.chapelperilous.net/ > ------------------------------------------------------------------------ > The modern child will answer you back before you've said anything. > -- Laurence J. Peter > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]