Help for this page

Select Code to Download


  1. or download this
    {
        my $static;
        BEGIN { $static= "Initial value" }
    ...
            # ...
        }
    }
    
  2. or download this
    sub usesStatic {
        my $static= "Initial value" BEGIN;
        # ...
    }
    
  3. or download this
    sub usesStatic {
        my $static if 0;
        # ...
    }
    
  4. or download this
    eval q{
        conditional code;
    } if condition BEGIN;