in reply to negative stat value

Just a quick suggestion. BTW, I don't have any files that large to test, so you might encounter the same problem with this. But give it a try:
my $size = -s "filename"; print $size;

If the code and the comments disagree, then both are probably wrong. -- Norm Schryer

Replies are listed 'Best First'.
Re: Re: negative stat value
by Anonymous Monk on Aug 23, 2001 at 23:41 UTC
    Unfortunately, this does retrieve the same results as STAT, but a positive is I found another way to get a files size. Does anyone know if stat uses a Binary or ASCII representation?