Hi everyone, I just want to say thanks for all your helps here. I apolergize for trying skip working on the problems myself. I spend the last two days trying to work on those Qs. Now I got all the answers by myself. The feeling is really good. But I know I would not be able to work them all out without the help from you guys. I have learned so much from you. And I start to like Perl now. Thanks again guys.