Sorry to hear your having issues with my script..
If you drop in on my test site - http://www.ihost4u.co.uk/xcart2/, you will see just over the Categories section (left side of page) a working example.
As for running the .CGI on a Mac server? I'm not familiar with Mac OS....
But you may need to change the head line from #!/usr/bin/perl to something like #!/bin/bash
You 'might' also need to change the folder from /online to /cgi-bin or something like CGI-Executables and then set up a .htaccess (text file) file or apples equivalent. Something like httpd.conf to include the line - AddHandler cgi-script .cgi .pl.
CHMODs stay the same for both file and folder.
Hope that helps...
EIGHTEEN cool mods for ISC
Re: EIGHTEEN cool mods for ISC
ISC 5.5.4 Ultimate : Being used here -- http://www.kdklondon.com