is($x, 0, '1 didn\'t run');
}
is($x, 1, '1 ran');
- {
+ {
{
{
add 2 => UP UP;
my ($height, $level, $i) = @_;
$level = $level ? 'UP ' x $level : 'HERE';
return [ "localize '\$main::y' => 1 => $level;\n" ];
-};
+};
local $Scope::Upper::TestGenerator::test = sub {
my ($height, $level, $i) = @_;
my ($height, $level, $i) = @_;
$level = $level ? 'UP ' x $level : 'HERE';
return [ "localize_elem '%main::h', 'a' => 1 => $level;\n" ];
-};
+};
local $Scope::Upper::TestGenerator::test = sub {
my ($height, $level, $i) = @_;