Help for this page

Select Code to Download


  1. or download this
    package My::Module;
    BEGIN {
    ...
        return "module subroutine";
    }
    1;
    
  2. or download this
    #!/usr/bin/perl
    use My::Module;
    ...
    sub testsub { # "local" definition of subroutine
        return "local subroutine";
    }
    
  3. or download this
    <% $txt %>
    <%INIT>
    ...
    My::Module->import(qw(testsub));
    my $txt = testsub();
    </%INIT>
    
  4. or download this
    PerlInitHandler Apache::Reload
    PerlSetVar ReloadAll Off
    
  5. or download this
    use Apache::Reload;