#!/usr/bin/perl -w print "Content-type: text/html\n\n"; my @result = qx(perl -e "use blabla::fsdkjghkajshd" 2>&1); print @result;