in reply to using mechanize to expand a collasped menu structure.

Anonymous Monk,

Firstly, I hope that the logon details you have given are fake. Secondly, how are these links generated? Is this a dynamic menu (driven by a database) or are all of the links in one HTML page, by this I mean is this some kind of collapsible menu (CSS or whatever)? The $mech->find_all_links() method may be of interest to you, find all of the links, click them, then examine $mech->content. If in doubt have a look at the documentation. Also please read the PerlMonks FAQ and How do I post a question effectively? if you have not done so already.

Hope this helps.

Martin