if ( -s 'file') { print "file exists and has size > 0\n"; }