Help for this page

Select Code to Download


  1. or download this
    { my $foo; sub foo { 1 } }      # not a closure
    { my $foo; sub foo { $foo } }   # a closure
    
  2. or download this
    my $GLOBAL = 1;
    
    ...
        ... $GLOBAL ... ;
        ... ;
    }