ssandysharma has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, i want to find a String in an xml file & copy the text from that string till the next occurrence of the string to another file, i am very very much new to perl, please help me find a solution.
  • Comment on searching a string & copying info from one text file to another text file

Replies are listed 'Best First'.
Re: searching a string & copying info from one text file to another text file
by GrandFather (Saint) on Dec 16, 2010 at 06:56 UTC

    So, either show us what you have tried, or go read the Tutorials, then come back and show us what you have tried and tell us where you are having trouble.

    True laziness is hard work
Re: searching a string & copying info from one text file to another text file
by roc (Sexton) on Dec 16, 2010 at 08:00 UTC
      Hi Rock, thanks for prompt response, Sandy is my name...but i never been to chennai :-( i am very much new to perl, just trying my hands on something i never been into. i will try to understand the script & learn something new..thanks once again for help.