How do you determine if a file is empty in perl? You can use -s but it only counts the number of bytes. The file may have some bytes but for practical purposes it's still empty. Thanks in advance for any help offered.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.