Something else you might try, which I've done before, to
make things more transparent you could have a small frame
to the side or in the corner that you call your perl script
in, it is nice and transparent if you don't need the user
to interact in that window... that way you don't drive the
user crazy with popups...