I have never executed a CGI script before so I don't know if this is a perfectly good script that I don't know how to work.
CGI is a protocol for exchange of data between client and server over HTTP (that's a simplification). The important part here is the "over HTTP" bit. If you are intending to run this script over the web then you'll most likely want to construct a form (which may be static) to go with this script which will then be the form handler. There's more about CGI in the Tutorials section.
Conversely, if you are not intending to use a script like this over HTTP then it would be better and simpler not to use CGI in the first place.
It's not immediately clear to me from reading this thread what your ultimate goal is.
In reply to Re^3: using perl on server side for secure connections
by hippo
in thread using perl on server side for secure connections
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |