if($tab[-1] != $tab[-2]) { my $adr="/home/my_folder/perl_script/rebelotte.pl"; system($adr); exit; }