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

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.