Thread File test: -z und ! -s (3 answers)
Opened by Kuerbis at 2015-11-10 14:26

Kuerbis
 2015-11-10 14:26
#182851 #182851
User since
2011-03-20
938 Artikel
BenutzerIn
[default_avatar]
Hallo,

machen diese zwei das gleiche:


Code (perl): (dl )
if ( ! -s $file ) {}

Code (perl): (dl )
if ( -z $file ) {}

View full thread File test: -z und ! -s