in reply to Re: successfull Installed module vanished
in thread successfull Installed module vanished

...or, to save (a little) typing, perl -MMath::GMP<CR> - if the library isn't present, perl complains as indeed it does with ikegamis example.

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re^3: successfull Installed module vanished
by ikegami (Patriarch) on Jun 23, 2009 at 18:24 UTC

    And if it is, it leaves you hanging. So really, the options are

    perl -MMath::GMP -e1 perl "use Math::GMP (cmd) perl 'use Math::GMP' (sh)

    Mine's actually shorter by one (cmd) or the same length (sh). Actually, I tend to use the following so it tells me what version is installed if it is:

    perl "use Math::GMP 99
      Hmmm, thanx for the reminder - should've written <CR><CTRL><D>.

      Thanx for the latter hint - so obvious I never even thought of it :-)

      A user level that continues to overstate my experience :-))