Perl Version : v5.8.7 
Bonjour à tous, 
je m'amuse un peu avec les format et j'obtiens le warning suivant : 
	
	Use of comma-less variable list is deprecated at ./treeCheck.pl line 55.
 la ligne en question est à l'intérieur de la définition d'un format  et correspond à la ligne ou sont appelés les variables :
	
	1 2 3 4
   | format STDOUT =
@<< | @<<<<<<<< | @<<<<<<< | @<<<<<<< | @##.## | @##.## | @##.## | @##.## | @<<<<<<<< | @<<<<<<<< | @<<<<<<<< | @<<<<<<<< |
$h    $T          $nI        $c         $P_min   $P_avg   $P_max   $Pth_max $C_min      $C_moy      $Cth_moy    $C_max
.  | 
 Les variables ont été initialisés de la manière suivante:
	
	1 2 3 4 5
   |  
       my $tmp = `./mycommand`;
	    $tmp =~ s/ *//g;
	    ($h, $T, $nI, $c, $P_min, $P_avg, $P_max, $Pth_max, $C_min, $C_moy, $Cth_moy, $C_max) = split /;/,$tmp;
	    write; | 
 Je ne vois pas spécialement d'ou vient le warning. Quelqu'un a t il une idée? google n'est pas très parlant et je n'ai rien trouvé en recherchant  sur ce forum...
						
					
Partager