Bien choisir
son ordinateur portable
Bonjour, comment creer un fichier vide en Perl s'il n'existe pas? tout d'abord on test l'existence par "if (! -e $fileFocal){" puis après je ne sais pas comment créer ce fichier vide? Merci
Configuration: Windows XP Internet Explorer 7.0
1
Il faudrais un equivalent de "touch" sous linux
2
Ceci fonctionnerait-il?
if (! -e $fileFocal){ open(DESCR,">$fileFocal"); close(DESCR); }