Of course there may be something strange about your setup that you are not telling us, but there is no way that installing a Perl module should have any effect on the operation of the Informix tools. I have IDS 9.40.UC2E1 installed here as well as WWW::Mechanise and dbaccess works perfectly fine. If you really are experiencing this problem as you describe then I think you need to raise a support ticket with Informix. Do the other Informix tools such as dbschema or onmonitor experience any problems?
/J\