Help for this page

Select Code to Download


  1. or download this
    package MyModule;
    use Exporter ();
    ...
    sub foo { "do some foo stuff" }
    sub bar { "do some bar stuff" }
    1; # not actually needed since @EXPORT_OK= evaluates as true
    
  2. or download this
    use MyModule 'foo';
    &foo();