I think this will work in most cases. I was looking at this method at home before I saw this responce and I found this article
Titled Connect to a Running Instance of Internet Explorer in MSDN. It is in VB and C++ and I have not had time to see if it can be 'Perlized'.
HTH
MADuran
Who needs a spiffy sig