get ride of all the "my"s in front of the variables. you don't need thme. This below is an example of useing it:
=========================
&goto("Hi");
sub goto {
my $variable = shift;
print "$variable";
}
=========================
Even when you delete all the my's in front. You'll still get a white page. Try this:
==========================
use CGI qw/:standard/;
if (param('action') eq 'TopHTML') {
&TopHTML;
}
==========================
Now from your browser:
http://www.yoursite.com/cgi/yourscript.cgi?action=TopHTML If you would rather it link to like
yourscript.cgi?action=top
change TopHTML to...
====================
if (param('action') eq '
top') {
&TopHTML;
}
====================
Hope that helps
------------------
My Freeware Board