Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: File::stat's size method returns negative valuesby djw (Vicar) |
on May 07, 2003 at 14:14 UTC ( [id://256209]=note: print w/replies, xml ) | Need Help?? |
I think you have found something here PodMaster. Here is the output of perl -V:userlargefiles:
After a little more investigation it seems that any file over exactly 2gb (2,147,483,648 bytes) is giving the negative results. I have a file that is 2,004,792,320 bytes that is being reported properly. I guess I will have to figure out how to tell perl to use large files, then try again. Thanks for all the help. UPDATE: I am an idiot and here's why: 107391. I'll just go away now *hangs head in shame*. UPDATE 2: I did some searching and since I can't ./configure on a win32 system, I'm not sure how I can add 'uselargefiles'. Does anyone know for sure if this can't be done on a win32 system? Thanks. djw
In Section
Seekers of Perl Wisdom
|
|