in reply to
modifying a text file on Win32
Look at what the /m and /s options do to your pattern replacement. Your problem may be that your file contains multiple lines, but by default the s// assumes it is a single line. --John
Comment on
Re: modifying a text file on Win32
In Section
Seekers of Perl Wisdom