in reply to File::Size
use IO::File; ... sub getfilesize { my $filename = shift; my $f = new IO::File $filename or die "File not found"; seek $f, 0, 2; return tell $f; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: File::Size
by merlyn (Sage) on Jan 14, 2004 at 01:56 UTC | |
by Roger (Parson) on Jan 14, 2004 at 02:00 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |