|Syntactic Confectionery Delight|
Pattern Match and Replace Problemby belize (Deacon)
|on Apr 27, 2001 at 23:23 UTC||Need Help??|
belize has asked for the wisdom of the Perl Monks concerning the following question:
I am submitting a form that will replace matching fields in a template file with what was submitted.
The template file takes this form:
I open the template file, read each line into an array, then start working on each line as follows:
2. What does " $File =~ s/\n//; " accomplish?