According to the official documentation, the scope of an 'our' variable should be limited to the file in which it's declared, but that is not the case. Is the documentation wrong, or am I just reading it wrong? The doc says an 'our' is visible across its entire lexical scope, which is defined as the enclosing block, file, or eval. Doesn't that also imply the converse... that it's NOT visible OUTSIDE of its lexical scope?
From http://www.perldoc.com/perl5.8.4/pod/func/our.html :
An our declares the listed variables to be valid globals within the enclosing block, file, or eval. That is, it has the same scoping rules as a "my" declaration... ...An our declaration declares a global variable that will be visible across its entire lexical scope, even across package boundaries.