Multiple choice technology programming languages

Which special variable actually tells perl where to look for perl modules ?

  1. %INC

  2. @INC

  3. INC

  4. %PATH%

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

@INC is an array variable in Perl that contains the list of directories where Perl looks for modules to load with use or require. The %INC hash (option A) tracks which modules have already been loaded, not where to look. %PATH% is an environment variable used in Windows, not Perl.