Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: comparing size

by gav^ (Curate)
on Aug 19, 2002 at 14:19 UTC ( #191184=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $size = -s $file;
  2. or download this
    use File::stat;
    my $st = stat($file);
    my $size = $st->size;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://191184]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-06 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (96 votes). Check out past polls.