Help for this page

Select Code to Download


  1. or download this
    sub outloop { #NOOB  GOTCHA
        my $k = "string";
        sub inside { return $k."cheese" }
        return inside( );
    }
    
  2. or download this
    sub outer { #APPARENTLY CORRECT
        my $k = "string";
        local *inside = sub { return $k."cheese" };
        return inside( );
    }