I want to do something like this:
open (FIRSTIN, "<$FIRSTINFile"); open (FIRSTOUT, ">$FIRSTOUTFile"); open (SECONDIN, "<$rtsalFIRSTIN"); open (SECONDOUT, ">$rtsalFIRSTOUT"); while (<FIRSTIN><SECONDIN>){ #assume $otherData would be the $_ from <SECONDIN> print FIRSTOUT "$_\n"; print SECONDOUT "$otherData, $_\n"; } I have working code which opens two files (1 read, 1 write), then parses the text from the file FIRSTIN to a particular format, then prints it to the FIRSTOUT file. I need to add to this the capability to open SECONDIN line for line with FIRSTIN, and just print the same thing I took from SECONDIN to SECONDOUT, along with a couple of pieces of data I have parsed from FIRSTIN. I hope I have explained this well enough. Thank you, Shawn ********************************************************************** This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this e-mail in error, please notify the sender, do not disclose its contents to others and delete it from your system. ********************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]