WWW::Mechanize doesn't always follow_link(text

I'm using WWW::Mechanize 1.34 and have a problem. This doesn't work: $agent->follow_link(text => 'Edit Librarians', n => 1); It doesn't work in the sense that the link isn't followed and the $agent is still on the same page. Is there a bug in my code or is there a known bug in WWW::Mechanize. I've tried to change   to space but that