#!/usr/bin/perl # This is minimal and hasn't been checked at all. print "Content-type: text/html\n\n"; print `/path/to/perl -w /path/to/script -opts`; # FIX THIS LINE print "Exit value: ", $? >> 8;