in reply to Passing data from script to script.

you could use CGI to get the form and url inputs!
I have found it to work very well and it has many other functions for web scripts.
# Load CGI.pm use CGI qw(:standard); $CGI::POST_MAX = 1024 * 100; $CGI::DISABLE_UPLOADS = 1; $CGI::HEADERS_ONCE = 1; my $query = new CGI; # Get inputs my $id = $query->param('id') || ''; my $handle = $query->param('handle') || '';

it also redirects.
print $query->redirect(-location=>"http://www.yourdomain.com/open.cgi");

CGI.pm does a lot more for web scripts like Cookies and HTML, est... If you have not used it try it out its a Default Perl Module.