In extreme cases you might need to tinker with what Perl has loaded in memory. In less extrme cases, you might wonder, why changing a module, even rendering it syntactically incorrect does not have any impact on your script. Is it even loading that copy of the module?

Perl provides a variable called %INC, it is slightly related to @INC but not to be confused with it. %INC contains information about modules that have been loaded into memory by the currently running process.

The most simple way to see it, is by using Data::Dumper with the following one-liner: