-> c'est sur ...



my $nom = "foo";
my $str = "hello $nom"; # ici $str vaut bien "hello foo"
my $i = 1;

if ($i == 1) {
$nom = "bar"; # tu affectes "bar" à la variable $nom mais