in reply to Re: perl scriptin thread perl script
It may be useful to print the value of $output after it has been given some (possibly) meaningful value:
... my $output = $ex->output(); print ">>$output<<"; ... [download]
Give a man a fish: <%-{-{-{-<