text: I am not going to give you the answer to this question \nbut giving you a module that can do this job for you.\n\nIts called LWP.\nIt will do what ever you want to do with web,and its simple.\n\nplease do go through CPAN and the following link for more details.