+1  A: 

I solved this one by simply using

my ($firemech) = WWW::Mechanize::Firefox->new();

Instead of what I used before. It still keeps the content in one tab so it works perfectly with my needs.

Gurzo