I just fetched Template Toolkit from CPAN and manually ran Makefile.PL and
make install which installed into /usr/local/lib/perl/5.10.0.  It included
Template::Plugin::HTML.
Running "make install" reported:

Installing /usr/local/lib/perl/5.10.0/Template/Plugin/HTML.pm

I then ran h2xs and generated this in Makefile.PL

WriteMakefile(
    NAME              => 'Template::Plugin::HTML',
    VERSION_FROM      => 'lib/Template/Plugin/HTML.pm', # finds $VERSION
    PREREQ_PM         => {}, # e.g., Module::Name => 1.1
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/Template/Plugin/HTML.pm', # retrieve abstract
from module
       AUTHOR         => 'Bill Moseley <moseley@>') : ()),
);

When installing this new module I see:

Installing /usr/local/share/perl/5.10.0/Template/Plugin/HTML.pm

Maybe it's been a long day, but I don't see the difference between the two
Makefile.PLs that are causing the different install paths -- but there must
be something.

http://cpansearch.perl.org/src/ABW/Template-Toolkit-2.22/Makefile.PL is the
other Makefile.PL.

What determines /usr/local vs. /usr/share?


-- 
Bill Moseley
mose...@hank.org

Reply via email to