$abs =~ s/.*\Q$input_var\E.*\n?//;
For more information please consult perlretut and perlre.
In reply to Re: Required help on substitution using a string in perl
by moritz
in thread Required help on substitution using a string in perl
by amarbvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |