Why would you want all the fields the same name? This will not work. Hashes can not have keys of the same value. Example: %INPUT = ('name'=>'scott','name'=>'brian'); for (keys %INPUT) {print}

This will print name once. Because it eliminated the duplicate key. Also if you want to process the input from a form your self you will have to UN-encode it. I highly recommend using CGI.pm. It is the Standard for CGI programming in Perl. There is also excellent documentation for it.

Sorry I re-read your post and noticed you were giving unique keys. But you were still not UN-encoding the data. I would still recommend you look at using CGI.pm. It does all this for you and gives you access to tuns of useful code....

IF the file had two lines in it it would create a text box with the values of each line , but with the same name and once completed the loop it would create a new text box that was empty with a diferent name. This is where I have always gotten stuck. How to get the information that has change back in to the CGI script in a way that the file could be updated. I know I am doing something wrong just based on the way you coded in your example. with =>. If you have any suggestion's out side of read a book please let me know(us).

And to retrive the values try this:<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

for (1..$c->param('num')) { print $c->param("org$_"),"\n"; }</pre><HR></BLOCKQUOTE> This should print all the values submited. Ofcoarse you could do other things with them like push them into an array etc...

I asume that $_ is the numeric value of the 1..max value in the param('num'). Now all I need to do is split values within a file assign a unic id via i++"incrementing" and ad for loops based on the param name foreach of the form vields that where incrimented with the i++ and the rejointhem once the changes were made and rewrite them to file.. Which I know how to do now..This was the missing peace.. Thanks...

Sorry I should have explained the $_ a little bit better. $_ is the default for a lot of things. In the two cases I gave you it was defaultly set as the value for each iteration of the loops. The alternative is to set it yourself <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

for $num(1..$c->param('num')) { ... }</pre><HR></BLOCKQUOTE> or for the while loop <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

while ($line=<FILE> ) { ... }</pre><HR></BLOCKQUOTE> Notice I did not set the values in the script example I gave you and I used $_ for the value.

Well?? Linux 6.x, window 95/98/NT4.0, I have quite a collection. I have only been doing perl for a month and I already have writen some code based on the reading of others and credit is always given to where it belongs...Just for information only I have been doing the Vhosting with Linux though for some time know, and I have just haven't taken the time to automate anything. Thats where perl is comming in. I design corprate networks and seeing all of the options I choose perl as my back end language. I just need to learn my own.(spelling).:=)

Well when I was on Windows I used EditPlus. It is Awsome and the only thing I miss about windows. On linux I am using <A HREF="ftp://ftp.fnal.gov/pub/nedit" TARGET=_blank>Nedit</A>. It is OK but EditPlus is better.

Also the explorer like links on the top of this page are good. I would like to send you some new gif's that have a bit more detail and are sized to file a browser line better. To who do I send them too?? For evaluation..Or I can point you to a page on my site to download them. Either way let me know..