Probably best to encapsulate the required subroutine in a module and use it. If you mean that a certain user action requires two completely seperate CGI transactions you could open a sub window, or sub frame at the client end, or do something whizzy like using a mod_perl handler to generate multiple apache sub requests at the server.