Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use My::Module qw(testsub);
    ...
    sub testsub { # "local" definition of subroutine
        return "local subroutine";
    }
    
  2. or download this
    package My::Module;
    BEGIN {
    ...
        return "module subroutine";
    }
    1;