The most obvious advice i can give is to use the
glorious perl
CGI.pm module. This module comes with the
standard distribution of perl and should be available on your machine...
To get at your variables, try something like:
#!/usr/bin/perl
# Loads the CGI Module
use CGI;
# creates a new CGI object
my $page = new CGI;
# This will print a standard HTML header
print $page->header;
# Grab a named CGI parameter
# CGI::pm automatically figures out
# if it's sent by GET or POST
my $value = $page->param('node');
# Then:
print "<html><head><title>node is $value</title></head>\n";
print "<body> Hi, you are on the $value node!</body></html>\n";
There are many more features to this
great module. Learn about this before you
do any other CGI programming.