A: 

This has nothing to do with DBI or DBD::mysql.The messages are nothing to worry about, but I admit they are unsightly.

The messages come as remaining Perl/Javascript objects get destroyed in an unordered way during Perl Global Destruction. If you want to avoid them, destroy your $mech object before quitting your application.

undef $mech;
# end of program

If the $mech object is released before the program gets shut down, the Perl/Javascript bridge can also shut down in an orderly fashion.

Also note that the preferred forum for questions about WWW::Mechanize::Firefox is http://perlmonks.org :)

Corion
Since mech needs to be called once for every cycle, do I need to undef it at the end of each cycle or just at the end of the script?
Gurzo
I tried having it "undef $firemech" at the end of every cycle, but it still gives the error. Only difference, this time it goes on for like 5-10 cycles and then it pops up. Any idea?
Gurzo