RE: Reading file and changing contents which are not in one line

2009-02-08 Thread Sarsamkar, Paryushan
Thanks ... Thanks, Paryushan -Original Message- From: Rob Dixon [mailto:rob.di...@gmx.com] Sent: Friday, February 06, 2009 9:23 PM To: Perl Beginners Cc: Sarsamkar, Paryushan Subject: Re: Reading file and changing contents which are not in one line Sarsamkar, Paryushan wrote: > Hi

Reading file and changing contents which are not in one line

2009-02-05 Thread Sarsamkar, Paryushan
Hi All, I have one xconf file whose contents are as follows. I actually want to search for a property and change its value. Now what happens in my code is while reading the file, each line is stored in $_ so actually the line in my file is slit up in 2 or more lines, so I can not find the prope