Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: file size help

by arthas (Hermit)
on Jun 17, 2003 at 19:38 UTC ( [id://266617]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $bytes = (stat('test.jpg'))[7];
    $kbytes = int($bytes/1024);
    
  2. or download this
    $bytes = -s 'test.jpg';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://266617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found