BEGIN { my $LOAD_FOO = 1; eval "use Foo; 1;" or die $@ if $LOAD_FOO; }
In reply to Re: [Q]: How to include modules conditionally (using the pragma 'use')?
by WizardOfUz
in thread [Q]: How to include modules conditionally (using the pragma 'use')?
by rbid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |