in reply to Re^2: Use of typeglob in package import subroutine
in thread Use of typeglob in package import subroutine

> $main::pet got indirectly declared.

you can't "declare" fully qualified pkg vars, the declaration of our and my just "links" _unqualified_ vars to a slot (be in a stash or a pad) for the compiler.

I.e. there is no need for an "implicit" declaration. It's just the same initialization like for hash-entries.

Cheers Rolf

( addicted to the Perl Programming Language)