in reply to Clicking hyperlink in a webpage

I know what I mean. Why don't you? We don't know 1. what the page looks like, 2. what the contents of $mbs_text is, or 3. what "it's not working" means.

As for your second question, look for "links" in the WWW::Mechanize documentation.