Help for this page

Select Code to Download


  1. or download this
    use Module;
    BEGIN {
      $Module::variable = 1;
    };
    
  2. or download this
    use Module;
    BEGIN {
      my $m = new Module;
      $m->setConfigVariable();
    };
    
  3. or download this
    use Module qw(-SetConfigVariable);
    
  4. or download this
    my $MyConfigVar=0;
    sub import {
    ...
      $Trace->exit();
    }