in reply to Re^2: cgi-lib.pl
in thread cgi-lib.pl

You need, at a minimum to to replace these three lines:
require("cgi-lib.pl") print &PrintHeader; &ReadParse(*form_data);
with:
use CGI; print CGI::header(); my %form_data = CGI::Vars;
But I'm not sure I'm doing you a favor by telling you that. You really should start by learning something about perl and CGI. Just copying scripts and code snippets is likely to get you into trouble.