On Wed, Aug 26, 2009 at 03:47:08PM -0400, Daniel Staal wrote:
> On Wed, August 26, 2009 3:23 pm, David Cantrell wrote:
> > Perhaps CPAN.pm (and CPANPLUS) could add a way of checking for updated
> > toolchain-ish modules on startup.  Simply compare version numbers of
> > what you've got against what's in the CPAN index files.  There's no
> > privacy concerns as the files are already available on the user's
> > machine.  Have it warn loudly if you've got old versions of tools.
> You mean something like the 'o' (CPANPLUS) or 'r' (CPAN) commands?

No, I mean something like ...

  $ perl -MCPAN -e ...
  ...
  [stuff installs]
  ...

  WARNING: there are new versions of Module::Build and Module::Install
  available, it is strongly recommended that you upgrade them

  $

CPAN.pm already tells you if a new CPAN.pm is available, I'm simply
proposing extending that because no-one knows that the 'r' command
exists.  I certainly didn't.

Also, note that this time round I've moved the warning to the end.  That
way it doesn't just disappear off the top of the screen, it's there in
your face when the install finishes.

-- 
David Cantrell | Minister for Arbitrary Justice

Eye have a spelling chequer / It came with my pea sea
It planely marques four my revue / Miss Steaks eye kin knot sea.
Eye strike a quay and type a word / And weight for it to say
Weather eye am wrong oar write / It shows me strait a weigh.

Reply via email to