in reply to Large Files and glob/stat

You need to check if your perl is built with large file support. If you do a perl -V and look for the line that read something like:

Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES ^^^^^^^^^^^^^^^ +PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS

Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.