surrealistfashion has asked for the wisdom of the Perl Monks concerning the following question:
but I can't seem to call the correct sub from the url.my $node; if ($node eq "Main") { &Main_page; } elsif ($node eq "Check") { &Check_page; } else { &Error_page; }
How do I fix this problem?my $Page = param('Main'); if ($Page eq "Main") { &Main_Page; } else ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http://www.url.com/cgi-bin/file.pl?node=how
by smitz (Chaplain) on Sep 09, 2003 at 13:30 UTC | |
by surrealistfashion (Acolyte) on Sep 10, 2003 at 03:08 UTC | |
by smitz (Chaplain) on Sep 10, 2003 at 07:32 UTC | |
|
Re: http://www.url.com/cgi-bin/file.pl?node=how
by Abigail-II (Bishop) on Sep 09, 2003 at 13:24 UTC | |
by surrealistfashion (Acolyte) on Sep 10, 2003 at 03:05 UTC | |
|
Re: http://www.url.com/cgi-bin/file.pl?node=how
by naChoZ (Curate) on Sep 09, 2003 at 13:31 UTC | |
|
Re: http://www.url.com/cgi-bin/file.pl?node=how
by bear0053 (Hermit) on Sep 09, 2003 at 14:18 UTC | |
|
Re: http://www.url.com/cgi-bin/file.pl?node=how
by bbfu (Curate) on Sep 09, 2003 at 22:06 UTC | |
by surrealistfashion (Acolyte) on Sep 10, 2003 at 06:42 UTC |