Help for this page

Select Code to Download


  1. or download this
    package MyModule;
    
    ...
    my @PrivateArray = (5, 6, 7, 8); # not shared
    
    1;
    
  2. or download this
    use MyModule;
    
    print MyModule::SharedArray[1]; # prints 2