If it's the latter, and if you mean "exception" when you say "output", then
my $output = eval("use Somemodule; 1") ? '' : $@;
In reply to Re: use_ok output
by ikegami
in thread use_ok output
by hughbar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |