respected monks,
I have been trying to call a sub from the url using CGI.pm,
but my attempts have come up with nothing.
I have tried using
http://myserver/cgi-bin/file.pl?node=Main
my $node;
if ($node eq "Main") {
&Main_page;
} elsif ($node eq "Check") {
&Check_page;
} else {
&Error_page;
}
but I can't seem to call the correct sub from the url.
This scripts works well with info from a standard html form, but not form a link.
my $Page = param('Main');
if ($Page eq "Main") {
&Main_Page;
} else ...
How do I fix this problem?
in a
surrealistFashion