On Jan 29, 2004, at 9:57 AM, Mallik wrote: [..]
What is the difference between Use and Require.
[..]

The easiest way to think about it was that
once upon a time we wanted to have 'functions'
that would be in 'perl libraries' - so there
needed to be a directive that indicated that
the code 'required' certain things - such as
a minimum version of perl, or a named perl library.

the idea of the 'use Foo::Bar' on the other hand
is about indicating that the perl compiler merely
need to know that we will be using a perl Module
that is external to this file and that it will

        a. look for Bar.pm in some sub_directory Foo
                that is in the @INC path

        b. either directly invoke the 'import()' method
                of that module - or invoke it with a list of
                tokens that will be imported...

So as the other person noted,

What exactly are you interested in knowing about them?


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to