[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] file length



At 2:37 PM -0700 8/21/99, Nicholas G. Thornton wrote:
>is there a built in function or module to calculate the length or size of a
>file? I've tried using "read" but haven't been able to get it to work right.
>
>If not how would I go about doing that (finding file length)?


MPPE, p. 270:

   -s

	File exists and has a non-zero size.  Returns size of the file
	in bytes ...
--
Rich Morin:          rdm@cfcl.com, +1 650-873-7841, http://www.ptf.com/~rdm
Prime Time Freeware: info@ptf.com, +1 408-433-9662, http://www.ptf.com
MacPerl: http://www.macperl.com,       http://www.ptf.com/ptf/products/MPPE
MkLinux: http://www.mklinux.apple.com, http://www.ptf.com/ptf/products/MKLP

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org