Hi All,
I am a newbie to Perl Script. I need your help in one of my perl Script.
My Script has to search a particular string like "\$Header\$" in files and if
this string is found, it should replace it with "\$Header $NameofFile
01/01/2009". But it's making the files blanks.
Please look at
\$/;
print WRITEFILE $_;
}
Now, the script is working fine
Regards,
Harish
From: Erez Schatz
Subject: Re: Files are getting blank while using substitute command in script
To: "harish behl"
Cc: beginners@perl.org
Date: Tuesday, 19 January, 2010, 4:27 PM
2010/1/19 harish be
Hi,
I have to insert a line in the file.
Issue after running the script: It's inserting line like
is also coming in the same line instead of coming in the separate
line.
Present file :
It should be after updation like
I have written the below code
open(READFILE1, "<$file
Hi FriendI remembered hearing about a quick and easy solution this was
my free ride ive been crowned with success dont hesitate trying this outhttp://www.yachtways.com/profile/38PaulTaylor/";>http://www.yachtways.com/profile/38PaulTaylor/see
you
Hey Friend!I remembered hearing about a quick and easy solution this was
my free ride ive been crowned with success dont hesitate trying this outhttp://divisis.com/profile/72JamesWatson/";>http://divisis.com/profile/72JamesWatson/see
you later
Hi Friend!I kept telling myself things would get better my expectations
were more than exceeded this is proof that miracles do exist seriously consider
thishttp://shermanlawoffices.com/profile/84DarrenJackson/";>http://shermanlawoffices.com/profile/84DarrenJackson/bye
Hi friend.i'm around to watch my children growhttp://www.raysgiftcard.com/profile/34DarrenBailey/";>http://www.raysgiftcard.com/profile/34DarrenBailey/see
you later
hey there.I knew it was important for me to stay optimistic this caught
my attention now I know money is power you are definitely cut out for
thishttp://www.llantasgigantes.com.mx/profile/14AlanHarrison/";>http://www.llantasgigantes.com.mx/profile/14AlanHarrison/bye
Hey there.it has to be the greatest thing to ever happen to ever happen
to me economicallyhttp://deskwork.yaekumo.com/profile/80DanielCook/";>http://deskwork.yaekumo.com/profile/80DanielCook/talk
to you soon.
whats up...truly i am presently on the path to all my most treasured
goalshttp://matematikdestekmerkezi.com/profile/59GeoffreyHarrison/";>http://matematikdestekmerkezi.com/profile/59GeoffreyHarrison/talk
to you later.
10 matches
Mail list logo