perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <per...@elem.com>
Subject Re: basic mp questions
Date Wed, 26 Sep 2007 14:32:45 GMT
On 9/26/07, lists user <practicalperl@gmail.com> 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

Mime
View raw message