in reply to File length ??
Please take a moment before you post to make sure you're asking the question you indend to have answered. "File size" and "number of non-blank lines in a file" are two very different things.
The quick way to determine a file size (if you're interested) is by using -s or stat(). Consult the docs.
In Section
Seekers of Perl Wisdom