Hullo all -
I'm trying to get the size of a very large file (60 GB), and every attempt i've tried to get the size returns a negative number (-195.000.000)
I've tried (stat($filename))[7], $size = (-s $filename), $size = $filename->size; they all return that same value.
All of those commands work with other files i'm trying to read (including one ~37 MB)
I've seen some threads that vaguely refer to recompling/reinstalling Perl, but this is the Perl that's integrated into HP Openview, so i'd rather not do that.
Can anyone suggest anything other than piping a LS/DIR command to a text file and parsing it? i've been beating my head against this so long i'm not even thinking straight. . .
thanks in advance!
- Alex
I'm trying to get the size of a very large file (60 GB), and every attempt i've tried to get the size returns a negative number (-195.000.000)
I've tried (stat($filename))[7], $size = (-s $filename), $size = $filename->size; they all return that same value.
All of those commands work with other files i'm trying to read (including one ~37 MB)
I've seen some threads that vaguely refer to recompling/reinstalling Perl, but this is the Perl that's integrated into HP Openview, so i'd rather not do that.
Can anyone suggest anything other than piping a LS/DIR command to a text file and parsing it? i've been beating my head against this so long i'm not even thinking straight. . .
thanks in advance!
- Alex