Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 ( [id://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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-26 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found