in reply to Perl & javascript

I would have hidden form elements in the child window and populate them with JavaScript.

Note that this works fine no matter what form submission method you choose.