![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Answer: How do I test whether a file has some contents or not?by ybiC (Prior) |
on Oct 15, 2000 at 17:13 UTC ( #36810=categorized answer: print w/replies, xml ) | Need Help?? |
Q&A > files > How do I test whether a file has some contents or not? - Answer contributed by ybiC
Filetest operators can be found at perlfunc:_X. Just a day or so ago swiftone showed me the "_" shortcut for performing multiple tests on one file. Yet another way to look at it.
|
|