vetrivel has asked for the wisdom of the Perl Monks concerning the following question:

Difference between use Math::BigInt lib => "GMP" and use Math::BigInt::GMP

Replies are listed 'Best First'.
Re: use with lib
by syphilis (Archbishop) on Jun 11, 2009 at 08:21 UTC
    Hi vetrivel,

    use Math::BigInt lib => "GMP";
    This will attempt to use Math::BigInt::GMP, and if Math::BigInt::GMP cannot be found, Math::BigInt will be used instead.

    use Math::BigInt::GMP;
    This will attempt to use Math::BigInt::GMP, and if Math::BigInt::GMP cannot be found, the program will abort.

    In both cases appropriate messages will be output if Math::BigInt::GMP was not found.

    Cheers,
    Rob

      Thanks for your contribution

Re: use with lib
by Your Mother (Archbishop) on Jun 11, 2009 at 04:51 UTC
    Difference between use Math::BigInt lib => "GMP" and use Math::BigInt::GMP

    Similar difference between interrogative clause and not.