in reply to Passing parameters to cgi
So your CGI program also needs to act as an HTTP client program. For that you need to look at LWP or WWW::Mechanise.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg