use Fatal 'chdir'; # et plus tard my $répertoire_voulu = 'fou/barre'; chdir $répertoire_voulu; # si le répertoire courant n'est pas $répertoire_voulu # le programme sera déjà mort unlink glob '*.log';
In reply to (Re: check if chdir() has work) Savoir que chdir aura réussi
by Narveson
in thread check if chdir() has work
by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |