Obligatory reminder: -X tests set $! and return undef if the file doesn't exist (and presumably on other system errors, although I haven't tested).
$filesize = -s $filespec; die "error: $!" unless defined $filesize;
conv
In reply to Re: Byte Count
by converter
in thread Byte Count
by qball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |