in reply to Getting file size

Either one of those should be fine. Try looking at $filename itself to make sure it contains what you think it does. Also, there's no need for the double quotes around $filename when you use it by itself. You can just say $size = -s $filename.

-- Mike

--
just,my${.02}