in reply to Re^6: 'do' command is dead? Surely not?
in thread 'do' command is dead? Surely not?

That sounds false, cause . was last in @INC for a long time, so strict.pm from /tmp is not a situation that could have happened

  • Comment on Re^7: 'do' command is dead? Surely not?

Replies are listed 'Best First'.
Re^8: 'do' command is dead? Surely not?
by Corion (Patriarch) on May 19, 2017 at 18:33 UTC

    Maybe not strict.pm but some other (optional) module that was not present in the original system could still be loaded from /tmp.

      the program would have to be trying to load said module first ... its expecting it to exist
        Yes, the program does expect the module to exist. But that expectation can be incorrect.

        I don't know about you, but I frequently get Perl code (usually things written by coworkers...) which doesn't properly document its dependencies, resulting in attempts to load modules which aren't installed on the machine.