I will like to share this code with other users. thus if the person don't have XML::Parser installed the code will not work. To me, except the XML::Parser is a core module, every other person using my code will have to install it before getting my code to work as desired. I am trying to have a lot of flexibility in code so that there are not a lot of constrains to get my code to work. that is why I don't want to use the XML::Parser. I will love it to make my task easier but that will make my script to not be as portable