$ cpan -j some/other/file Module::Foo
Unknown option: j
LWP not available
$ cpan -v
cpan script version 1.03
CPAN.pm version 1.7602
| [reply] [Watch: Dir/Any] [d/l] |
yes, it's quite new, but OTOH, it's in version App::Cpan 1.57 which is from december 2009.
I just knew about the option because I was one of the people who requested this feature. Unfortunately I don't see it in the changelog so I don't know in which version it was introduced.
update: s/App::cpan/App::Cpan/ (although the linked cpan search is case insensitive, but anonymous monk complained)
| [reply] [Watch: Dir/Any] |
The -j option exists in the current release (5.12.2) on Perl documentation.
Refer to cpan. You could search through the perldelta's if you want to know when this feature was added.
I'm on perl 5.12.2:
cpan -v
cpan script version 1.5701, CPAN.pm version 1.9456
| [reply] [Watch: Dir/Any] [d/l] |
| [reply] [Watch: Dir/Any] |