Thanks drieux, I looked over the code you posted, most of it makes sense, but am still a little confused over a couple of things, Why are you setting $infile and $outfile to ARGV values? I thought those were being past from the command line, but in this instance, I know what files I want to access.
Please exlpain that part, but thanks for the response and code samples.. Taylor Taylor Lewick Unix System Administrator Fortis Benefits 816 881 6073 "Help Wanted. Seeking Telepath..." "You Know where to apply." **************************************************************** Please Note The information in this E-mail message is legally privileged and confidential information intended only for the use of the individual(s) named above. If you, the reader of this message, are not the intended recipient, you are hereby notified that you should not further disseminate, distribute, or forward this E-mail message. If you have received this E-mail in error, please notify the sender. Thank you *****************************************************************