#!/bin/sh echo "Content-type: text/html" echo echo echo echo "
(
    /path/to/my/script/here.pl
) 2>&1 
echo "
" echo