in reply to Re: Logic for importing and strict vars?
in thread Logic for importing and strict vars?

If that was the case BEGIN { package OfEmpire; *::x=\$::a } would have the same problem, but it's valid. What matters according to tye is the package in which the instruction that overwrites the glob is located.

Replies are listed 'Best First'.
Re^3: Logic for importing and strict vars?
by LanX (Saint) on Feb 27, 2019 at 14:14 UTC
    Maybe ...

    You are talking about the exact mechanism that defines "exporting" resp. "Importing".

    My statement holds the last line doesn't export.

    Furthermore:

    I can't see tye commenting here.

    And using $a is unfortunate.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Oh thanks, I really shouldn't comment pre coffee.

        (I know I said this before :)

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice