in reply to Printing ten characters succeeding a matching string
Unrelated to your question, dots are literal on the right side of s///; no need to escape them:
#$outfile =~ s/\.txt/\.tag\.txt/gi; $outfile =~ s/\.txt/.tag.txt/gi;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing ten characters succeeding a matching string
by bluray (Sexton) on Oct 27, 2011 at 20:22 UTC |