From: "Shu Hung (Koala)" <[EMAIL PROTECTED]>
> I recently wrote a script with a '-f' file test inside.
> 
> 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.
> 
> I checked everything in the script and tested it serval times. It
> seems I must come to conclude like this - the '-f' test cannot find
> large files.
> 
> Does anybody here have the same experience as I does?
> Is this a bug of perl? Or am I mistaken?

I don't see any reason why would -f fail specifically for huge files. 
Are you sure you have the path right? And if the path is relative, is 
the working directory really what you think it is?

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
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