in reply to Redirect CGI input?

If you are using CGI.pm, use the format specified in the docs of the save method: it seems to be exactly what you need.

If you don't use it, it's better for you to start as soon as possible!!!

For more information, perldoc CGI

Ciao!
--bronto