Ok, thanks for the help. The reason I'm testing with Mozilla (and I'm also going to test with Firefox), is the web logs indicate some use with Mozilla, so I want to make sure that all my bases are covered. As to why I'm doing it this way, well, I had some of the scripts already done, so it was easy to modify the existing scripts rather than re-invent the wheel.
And, yea, I know "Perl" is a retronym, but it was pretty late when I put up the original question.
Thanks again.