A dirty trick I sometimes use
(there are many caveats associated with this)
is to do the second CGI from the
first. This has the advantage of not spawning
another perl process, and (usually)
perpetuating your form data. It also prevents
browser history clutter.