in reply to Clicking hyperlink in a webpage

You don't tell us what module you are using, but maybe reading the documentation of WWW::Mechanize will help you?

Replies are listed 'Best First'.
Re^2: Clicking hyperlink in a webpage
by perlmad (Sexton) on May 18, 2016 at 11:10 UTC

    I am using WWW::Mechanize to work on webpage content