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