You are viewing the version of this documentation from Perl 5.40.0. View the latest version
@INC

The array @INC contains the list of places that the do EXPR, require, or use constructs look for their library files. It initially consists of the arguments to any -I command-line switches, followed by the default Perl library, probably /usr/local/lib/perl. Prior to Perl 5.26, . -which represents the current directory, was included in @INC; it has been removed. This change in behavior is documented in