Shu Hung (Koala) wrote:
> Normally, a '-f <filename>' returns TRUE if a file with that filename
> exist. My script returns TRUE for all the files -- except the largest
> one (9.7 GB) on my list (others are XX MB - XXX MB in size). Whenever
> I test it with '-f' test, it returns FALSE.

The -f may be failing due to the underlying stat() call failing if perl was
not built with large file support.

What is the output of the following: 

   perl -V:uselargefiles

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to