Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

use with lib

by vetrivel (Sexton)
on Jun 11, 2009 at 04:40 UTC ( #770523=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on use with lib
Re: use with lib
by Your Mother (Canon) 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.

Re: use with lib
by syphilis (Canon) 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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-04-20 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls