I appreciate your patience to guide me :) I don't know much about c and I am perl newbie too, but I feel I am understanding more and more under your guidance, I will try your script and get to know more about how to use Convert::Binary::C, please wait for my feedback :)