Subject: | force install inconsistency between interactive and non-interactive invocation |
Attempt to reinstall a package stops on package is up to date:
# perl -MCPAN -e 'force install "Scalar::Util"'
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 29 Nov 2010 12:30:09 GMT
Scalar::Util is up to date (1.23).
However running the same command from interactive CPAN shell works:
# perl -MCPAN -e 'shell'
cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[1]> force install "Scalar::Util"
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 29 Nov 2010 12:30:09 GMT
Running install for module 'Scalar::Util'
[...]
make install -- OK
Is this discrepancy intentional?