Oh yes, me me!!! Here is the program:
print "This program should do what you want'; That was the program. I hope it will work. If it won't or if it will give an error, sorry. The apple was pretty good. :-) Teddy ----- Original Message ----- From: "FlashMX" <[EMAIL PROTECTED]> To: "Perl Beginners List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 10:06 PM Subject: Re: Using Perls built in GREP A fee? Anyone take an apple? On Mon, 22 Nov 2004 15:02:38 -0500 (EST), Chris Devers wrote: >On Mon, 22 Nov 2004, FlashMX wrote: > >> I need to open an external file, search for a hook like "start here" >> insert a line of code then keep searching until I find another hook >> called "end" then insert another line of code. >> >> Keep ripping the file by searching for "start"..."end" insterting the >> start code and end code until the end of file is found. Then write the >> file out with the changes. >> >> Can this be done? > >Yes. > >> If so, how? > >Write a program. > >I bet Perl can do it! > >Give it a try and let us know how it works out for you. > >If you're looking for someone to write it for you, I'm sure some of the >people on this list would be willing to write it for a reasonable fee. >If you're trying to save some money, maybe you should try writing it by >yourself before turning to others for help. > > >-- >Chris Devers > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] ><http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>