i want to read data between two strings and paste into new file....
open ($gen_xml,">test.xml") or die "can not open file $gen_xml : $!\n" ;
$i='start';
$j='end';
while($line = <$fh>){
if ($line =~ /$i/../$j/)
{ print $gen_xml $line; }
}