Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 pondering the Monastery: (8)
As of 2014-08-21 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (144 votes), past polls