in reply to Checking filesizes

I'm amused by the responses so far. All of them have used stat, when the simple -s filetest returns the same info:
for $tmpfilename (@files) { defined(my $size = -s $tmpfilename) or warn("can't stat $tmpfilename +"), next; ... }

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.