From the "our" perldoc:
our has the same scoping rules as my, but does not necessarily create a variable.
This means that variables declared with our should not be visible across files, because file is the largest lexical scope. But this is not true. Why?
You can consider
ourto create a lexically-scoped alias to a package global variable. Package globals are accessible from everywhere; that’s what makes them global. But the name created byouris only visible within the lexical scope of theourdeclaration.