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? If so, how?




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to