Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    package foo;
    our $bar = 1;
    
  2. or download this
    use strict;
    
    ...
    use vars qw/$bar/;
    
    $bar = 1;
    
  3. or download this
    use strict;
    
    $foo::bar = 1;
    
  4. or download this
    package foo;
    $bar = 1;