I suggest you make a small and simple cgi-script using CGI::Simple or such and see you can get some data in and out of it. Don't yet bother yourself with coupling the cgi-script with your DNS-routines. You can add those later.
Or even better, start using some web-frameworks (Dancer springs to mind) to make life more easy for you.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial DeltronicsIn reply to Re^3: How to convert an @ARGV to form based input?
by CountZero
in thread How to convert an @ARGV to form based input?
by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |