$file = "/usr/bin/perl"; -s $file; returns a number so: $size = -s $file;
works, as does
if ( -s $file ) {
# its bigger than zero
See also File::stat
a
Andy Bach, Sys. Mangler
Internet: [EMAIL PROTECTED]
VOICE: (608) 261-5738 FAX 264-5030
"If you don't say anything, you won't be called on to repeat it"
Calvin Coolidge
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
