Help for this page

Select Code to Download


  1. or download this
    sub {
        BLAH
    }
    
  2. or download this
    sub  {
        BLAH
        YOUR CODE HERE
    }
    
  3. or download this
    sub inject {
        my ( $outer, $inner ) = @_;
    ...
            goto &$outer;
        }
    }
    
  4. or download this
    sub uneval {
        my ( $a ) = @_;
        return ( in_current_scope => '$a' );
    }
    
  5. or download this
    our @cache;
    my $id = 0;
    ...
        $cache[$id++] = $_[0];
        return __PACKAGE__ . '::$cache[' . $id . ']';
    }