Help for this page

Select Code to Download


  1. or download this
    $dynamic_configuration = 'CONF-A';
    use $dynamic_configuration;
    
  2. or download this
    if ($A) {
      use CONF-A;
    ...
    } elsif ($C) {
      use CONF-C;
    }
    
  3. or download this
    %conf = (CONF-A => 'foo', etc...,
             CONF-B => 'bar', etc...,
             CONF-C => 'baz', etc...);
    
  4. or download this
    $x = 'A';
    eval "require CONF-$x";
    import ????? qw(var1 var2...);