this weird.. the dcr is not getting updated.. Im getting the value but does change. open (FILE, "<$File::Find::name")|| die ("Unable to open file for reading"); my $filecontent = do { local $/; }; close(FILE); # Close filemy $rootnode = TeamSite:CRnode->new($filecontent);my $city = $rootnode->get_inner_xml('primeDept');$rootnode->set_inner_xml('primeDept', 'Computers');my $modified_dcr = $rootnode->get_dcr();print $city;# Start Update the DCRs if (-f $File::Find::name) { open(OUTF, ">$File::Find::name") || die " '$File::Find::name' ($!)"; # Open for write print OUTF $filecontent; close(OUTF); # Close file }