Re: Revert use_ok() change to allow lexical effects?
"Ruud H.G. van Tol" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.quality-assurance |
|---|---|
| Message-ID | <[email protected]> |
On 2012-04-11, at 16:22, Ovid wrote:
> eval "use $module";
> BAIL_OUT $@ if $@;
Alternatively:
eval "use $module; 1"
or BAIL_OUT ( $@ // 'zombie error' );
--
Ruud