in reply to Re: Getting file size
in thread Getting file size

I'll see your sarcasm and raise you one dose of pedantry :-)

On Win32, your code would not work reliably unless you add binmode(F) since every CRLF pair will get converted to the single character LF.