Don't expect this script to work out of the box for you. You'll have to add some minimum glue code for authentication and authorization. Read the source for more information.
Here's a (rather non-functional) demonstration page that gives some vague impression about the user interface part. And here's the source: zone.pl.gz (version: 1.58 2004/11/29 20:47:34, size: about 8kB, license: GPL).