in reply to [Q]: How to include modules conditionally (using the pragma 'use')?

BEGIN { my $LOAD_FOO = 1; eval "use Foo; 1;" or die $@ if $LOAD_FOO; }
  • Comment on Re: [Q]: How to include modules conditionally (using the pragma 'use')?
  • Download Code