print "it's a non-empty text-ish file" if -s $file and -T $file;
In reply to Re: How do I test whether a file has some contents or not?
by merlyn
in thread How do I test whether a file has some contents or not?
by Hen_true
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |