Help for this page

Select Code to Download


  1. or download this
    $dir = 'modules';
    $mod = 'test';
    ...
    require $pkg;
    
    print test::func(), "\n";
    
  2. or download this
    #code in modules\test.pm
    package test;
    ...
      print "hello from test\n";
    }
    1;