F
fred
Hi !
I trie to remove the extention of a file name.
The folowing code work well :
$nom_fichier_final =~ s/pdf// ;
but the folowing one failed and I do not
understand why :-( Indeed according to the
PERL documentation, $motif should be replaced
by pdf during compilation...
my $motif = 'pdf' ;
$nom_fichier_final =~ s/$motif// ;
Thank you for your help !
I trie to remove the extention of a file name.
The folowing code work well :
$nom_fichier_final =~ s/pdf// ;
but the folowing one failed and I do not
understand why :-( Indeed according to the
PERL documentation, $motif should be replaced
by pdf during compilation...
my $motif = 'pdf' ;
$nom_fichier_final =~ s/$motif// ;
Thank you for your help !