Help for this page

Select Code to Download


  1. or download this
    #MyModule.pm
    package MyModule;
    use strict;
    our $variable = 'hello!';
    
  2. or download this
    #MyScript.pl
    use strict;
    use MyModule;
    print $MyModule::variable;