On Mon, Mar 31, 2003 at 01:08:32AM +0800, Autrijus Tang wrote:
> On Sun, Mar 30, 2003 at 03:09:10PM +0200, [EMAIL PROTECTED] wrote:
> > Note that the module is "again.pm". "again" in the subject is not to
> > indicate that it is yet another submission :)
> Can you differentiate your module with 
>     Module::Reload, Apache::Reload, Module::Reload::Selective?

I can.

Module::Reload reloads every module in %INC, and on demand only.
Apache::Reload is mod_perl-specific.
Module::Reload::Selective is much like again, but it's VERY heavy.

again Has cute pragma-like syntax and is much smaller (important
when developing mod_perl applications) than any of the three modules you
mention. It is C<use>d, so it only reloads when the code is evaluated,
which means modules can be loaded recursively I<if they B<choose> to reload
other modules>.

In my opinion, again is more perlish. Especially because of its
pragma-like name (compare C<use if>, C<use only>, C<use again>).


Regards,

Juerd

Reply via email to