in reply to Re: Setting lexicals in a BEGIN block.
in thread Setting lexicals in a BEGIN block.

By package scoped I mean that unqualified use of a variable declared with use vars qw($foo) follows package boundaries: 1) unqualified use of $foo is not allowed inside another package (even in the same file as the declaration), and 2) unqualified use of $foo is allowed anywhere within the same package (even in different files from the declaration).