diff --git a/doc/hooks/perl.section.md b/doc/hooks/perl.section.md index 06942bd3c0e1..362a237d9b19 100644 --- a/doc/hooks/perl.section.md +++ b/doc/hooks/perl.section.md @@ -1,3 +1,4 @@ # Perl {#setup-hook-perl} -Adds the `lib/site_perl` subdirectory of each build input to the `PERL5LIB` environment variable. For instance, if `buildInputs` contains Perl, then the `lib/site_perl` subdirectory of each input is added to the `PERL5LIB` environment variable. +Adds the `lib/perl5/site_perl` subdirectory of each build input to the `PERL5LIB` environment variable. +The hook applies when `perl` is in `buildInputs`.