D
Devop
hi.
I have been replacing string with backslas (\) with an other without
backlash.
This is part of the code
The reason i use \ in front of $ is that , $ is included in my search.
But when i replaced with the second variable, i get \${string2} - i
love you & (see the backlash is with me again ? how can i ignore this
backlash? . I want to get just {string2} - i love you &
my $first = '\${string1} &';
my $second = '\${string2} - i love you &';
$change =~ s/$first/$second/ms;
rgds
I have been replacing string with backslas (\) with an other without
backlash.
This is part of the code
The reason i use \ in front of $ is that , $ is included in my search.
But when i replaced with the second variable, i get \${string2} - i
love you & (see the backlash is with me again ? how can i ignore this
backlash? . I want to get just {string2} - i love you &
my $first = '\${string1} &';
my $second = '\${string2} - i love you &';
$change =~ s/$first/$second/ms;
rgds