This warning is being issued by the
warnings pragma because you are only referencing the
$Objects scalar in the
main package once. It is not clear to me why you would use the fully-qualified path name in that context, as you would get exactly the same result with a
my declaration without the error message. As well, if you used the variable more than once (i.e. to do something), it would not return that error either. If you
use diagnostics (
diagnostics), a more verbose error message will be printed that will make any message issued by strict and warnings clearer (or least more verbose).