Help for this page

Select Code to Download


  1. or download this
    &decl();
    print $variable;
    sub decl {
        our $variable = 1;
    }
    
  2. or download this
    package one;
    use vars qw($thing1);
    ...
    #stuff;
    package main;
    print "$thing1 and $thing2";