# wenn Datei existiert if ( -e $file ) { } # wenn Datei *nicht* existiert if ( ! -e $file ) { }