in reply to Re: Unsuccessful and Uninitialized Valuein thread Unsuccessful and Uninitialized Value
What's "it"? The file or each line?
If it's one file name per line, then remove local $/ = \$maxsize; and add chomp($record);.
If there can be more than one file name per line, what seperates them?