Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: cpan home

by tinita (Parson)
on Feb 16, 2011 at 12:06 UTC ( #888499=note: print w/ replies, xml ) Need Help??


in reply to cpan home

try the -j option with the cpan script:
cpan -j some/other/file Module::Foo


Comment on Re: cpan home
Download Code
Re^2: cpan home
by equick (Acolyte) on Feb 16, 2011 at 13:57 UTC
    Hmm, is -j a new option?
    $ 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
      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)
      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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://888499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-09-16 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls