On Tue, 2004-08-17 at 10:18, Gunnar Hjalmarsson wrote: > Shu Hung wrote: > > 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. > > Please show us code! Post a short but complete program that > illustrates your claimed observation. > > > Is this a bug of perl? Or am I mistaken? > > You are most likely mistaken. ;-)
I wouldn't be so sure... I had trouble in the past with several utilities and large files... The new (don't know how new) Linux command `tree` can't seem to find files with 2G, for instance... It is also possible, though, that the problem is not with Perl itself... what does Perl make use of to test if a file exists? I think it wouldn't hurt to make some tests... but I also think I don't have the necessary disk space for that... O:-) Volunteers? :-) jac > -- > Gunnar Hjalmarsson > Email: http://www.gunnar.cc/cgi-bin/contact.pl -- José Alves de Castro <[EMAIL PROTECTED]> http://natura.di.uminho.pt/~jac
signature.asc
Description: This is a digitally signed message part