put a die() statement on the open(), at the moment you don't have any idea where the script is failing - it might even be because it can't find the file you want to open open (THATFILE , $file_list[$openme]) or die "there is a problem:$!"; HTH Robin

Reply via email to