Help for this page

Select Code to Download


  1. or download this
    use Exporter;  # require works;
    @ISA = 'Exporter';
    @EXPORT_OK = qw(functions $variables @arrays);
    # I put this after the above, some put this above and then use "our".
    use strict;
    
  2. or download this
    # In the main script...
    use strict;
    ...
    
    # In the module...
    print $main::foo;