Perl's modules reside in the directories named in the @INC array, or subdirectories
#!/usr/bin/perl -w # List directories in @INC. foreach $dir (@INC) { print "$dir\n"; }