in reply to Getting file size
<sarcasim>
from the frivolous to the serious
</sarcasim>open(F,$filename) || die "Could not open file '$filename' : $!\n"; while (<F>) { $size += length($_); } close(F);
from the frivolous to the serious
|
---|
Replies are listed 'Best First'. | |
---|---|
DO NOT REALLY USE
by Anonymous Monk on Sep 24, 2002 at 23:21 UTC | |
Re: Re: Getting file size
by grantm (Parson) on Sep 25, 2002 at 09:00 UTC |
In Section
Seekers of Perl Wisdom