Subject: | Errno is shadowed by core version |
Errno is part of the perl core as of 5.8.1. The CPAN version will be
shadowed by the core version as the core library paths, by default, will
come before the site paths. Users can work around this, if they happen
to notice the install did not take, by using "make install UNINST=1" but
that can have unexpected consequences if used widely and is not encouraged.
To avoid the shadowing problem Errno should install itself to the core
library path by default for those versions of Perl which ship with
Errno. This is done by passing the following to WriteMakefile().
INSTALLDIRS => ($] >= 5.008001 ? 'perl' : 'site')