Bonjour,
J'ai un pb dans mon code. Je voudrais avoir tous les fichiers qui sont dans un rep. Voici le code:
Je pense que le pb est d'utiliser un variable entre <>...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 $station_path="/Volumes/ProjectData/Corisubmod/"; @q330_station=("CDL","CRCZ","LCH0","MARE","MERC","MOSD","PBNC","BATAN","PBNC2","MTL","CDITO"); #find the number of stations $nb_q330_station=@q330_station; #loop on all the stations for ($no_sta=0; $no_sta < $nb_q330_station ; $no_sta++) { @file=<$station_path@q330_station[$no_sta]/.>; ...
pouvez vous m'aider?
merci
Partager