in reply to Re: capture output of perl -c scriptname
in thread capture output of perl -c scriptname

Thank you for this, I updated my question. Why can't I get the result into $result?