[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic mp questions


On 9/26/07, lists user <suppressed> wrote:
> 1) what're the advantage of C modules than modperl modules?and what're
> the advantage of modperl modules than C's?

You can just look at any "Perl vs C" discussion for the answer to this.

> from the documents I know that in Mymodule MIME::Base64 won't be
> loaded again since it's already loaded by startup.pl (modperl checks
> the %INC and know it's already there).

This is actually a standard feature of Perl, not mod_perl.

> But,why the function of encode_base64() can be successfully loaded
> since the loading action doesn't happen in Mymodule?

Perl skips loading the module but still handles any import arguments
you give it.  You can read about this in the perlmod man page.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.