New cpan script version

brian_d_foy on 2008-04-06T14:47:11

Adam Kennedy explained to me why people like to type "install" after the cpan command. Previously, this found the junoscript, which as an install.pm. Linux people type things such as "apt-get install", so the muscle memory to type "install" is there.

cpan-script-1.54 is now in PAUSE. If you want to do the extra typing, now you'll won't see the annoying warning.

Adam says I'll get 50 thank yous for this small change, but we'll see. :)


KTHX

draven on 2008-04-06T16:15:18

THX 4 THIS, BRYAN, UR TOTALLY THEBEST!

cpan shell

jplindstrom on 2008-04-06T18:28:08

It's also because inside the cpan shell, you type "install X", not just "X".

So it was a case of the application being inconsistent with itself.

Re:cpan shell

brian_d_foy on 2008-04-06T19:30:49

Well, my application is not an interface to CPAN.pm (even though it now comes with it). It uses CPAN.pm, but I never meant it to be a single shot CPAN.pm.

As Adam says, this is a human programming fix. :)

junoscript mention thank you

mr_bean on 2008-04-07T05:08:05

Thanks for telling us about junoscript.

Seeing this, 4 days ago:

Fetching with LWP:
    ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module install
Running make for J/JU/JUNOS/junoscript-perl-6.4I0.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/J/JU/JUNOS/junoscript-perl-6.4I0.tar.gz ok

on having typed:

[root@mondo root]# cpan install WordNet::QueryData

I thought I was being hacked.

Reading this journal entry so soon after the event, together with the shock of seeing this junoscript-perl being installed, will perhaps be enough to prevent me ever typing 'cpan install Module' again.

Update CPAN

brian_d_foy on 2008-04-07T07:27:59

I fixed the junoscript problem in 2006. Update your cpan(1) :)

Try again

brian_d_foy on 2008-04-11T17:51:15

Well, the module was in PAUSE, but PAUSE was hiccuping so I've trying again.