our $bob declares the scalar variable $bob in the current package. local localizes $bob in the current code block.
$bob = "billy";
{
local our $bob = "bob";
print $bob; # prints "bob", hides the $bob from outside the block
};
print $bob; # actually prints "billy", because the local scope is gone