Declaration scope of 'local': This sub{} and globally for all callees.
* Perfect for some nesting counters:
my $func_nest=0;
Declaration scope of 'local': This sub{} and globally for all callees.
* Perfect for some nesting counters:
my $func_nest=0;
}
* Built-in variables cannot be 'my' scoped, use 'local' instead
Declaration scope of 'our'(5.6.0+) or 'use vars...': Global across packages.
}
* Built-in variables cannot be 'my' scoped, use 'local' instead
Declaration scope of 'our'(5.6.0+) or 'use vars...': Global across packages.