Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^8: 'do' command is dead? Surely not?

by Corion (Patriarch)
on May 19, 2017 at 18:33 UTC ( [id://1190666]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^9: 'do' command is dead? Surely not?
by Anonymous Monk on May 19, 2017 at 18:38 UTC
    the program would have to be trying to load said module first ... its expecting it to exist

        If the original author used Module::Pluggable, but did not remove '.' from @INC, then the original author intended to load unspecified modules on purpose from '.'

        There is no contradiction

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1190666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found