Mega Code Archive

 
Categories / Perl / File
 

File Tests for Existence and Size

Operator     Meaning -e           Returns true if this file exists. -s           Returns true if this file has nonzero size. -z           Returns true if this file has zero size.