in reply to CPANPLUS with versioned Modules

Put the fully qualified path in quotes:
perl -MCPANPLUS -e 'install("/P/PM/PMQS/Compress-Zlib-1.42")'

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^2: CPANPLUS with versioned Modules
by mishikal (Novice) on Jun 20, 2007 at 17:29 UTC
    [root@build .cpanplus]# perl -MCPANPLUS -e 'install("/P/PM/PMQS/Compre +ss-Zlib-1.42")' [ERROR] No such module '/P/PM/PMQS/Compress-Zlib-1.42'
    Still doesn't work.
    perl -MCPANPLUS -e 'install("Compress::Zlib")'
    continues to work, but gets the latest version which I need to avoid.
      Corion found it can be done with CPAN at least:
      perl -MCPAN -e "install(qq(P/PM/PMQS/Compress-Zlib-1.42.tar.gz))"
      Thanks!