Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: File::stat's size method returns negative values

by djw (Vicar)
on May 07, 2003 at 14:14 UTC ( [id://256209]=note: print w/replies, xml ) Need Help??


in reply to Re: File::stat's size method returns negative values
in thread File::stat's size method returns negative values

I think you have found something here PodMaster. Here is the output of perl -V:userlargefiles:

>perl -V:uselargefiles uselargefiles='undef';
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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://256209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-20 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found