in reply to Can't produce a web page via CGI

If you put <code> tags (not [code] tags) around your code, then it would be easier to see what you are trying to do.

I think the problem is with your use of the "param" function. I'm not sure how you think it works, but your usage looks like you're trying to set parameter values where I think you want to get them.

I think that you want to replace:

my $pay = $q->param(payment=>"discover","master","check");

with:

my $pay = $q->param('payment');
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.