perl-modperl mailing list archives

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

View raw message