Hi guys,
First thx for the interest you are been taking, here's a full cgi sample I've rewrite to bbe simple
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI;
my $query = CGI->new ;
loadPage ();
sub loadPage {
my $page = "";
$page = $query->param("page");
if ($page eq 'main') {
print "Content-Type: text/html\n\n";
print "main page to load";
}else {
print "Content-Type: text/html\n\n";
print "error";
}
}
this code work well now, I'm searching on other modules to see what's wrong
thx
Alexandre Jaquet