![]() |
|
Welcome to the Monastery | |
PerlMonks |
Pattern Match and Replace Problemby belize (Deacon) |
on Apr 27, 2001 at 23:23 UTC ( #76238=perlquestion: print w/replies, xml ) | 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:
QUESTIONS: 2. What does " $File =~ s/\n//; " accomplish? Thanks!
Back to
Seekers of Perl Wisdom
|
|