On Thu, 7 Dec 2000, Aaron Johnson wrote:
> I saw reference in some of the advocacy thread to having some way to
> list what modules are dependent on others. When I use CPAN (the module
> not the site) to install some modules it automatically installs the
> other required modules, but I assume this only works with modules that
> are on CPAN (the site not the module).
more work/guide/Makefile.PL
package Apache::mod_perl_guide;
...
# prerequisites
my %require =
(
"Pod::HtmlPsPdf" => "0.03",
);
...
WriteMakefile
(
...
PREREQ_PM => \%require,
);
...
There is more about it, see the whole Makefile.PL...
perldoc ExtUtils::MakeMaker
for more info
> If a module has a dependency on
> an item outside of CPAN shouldn't CPAN allow for a hook or something
> that can tell CPAN where to look for a dependency?
you write the Makefile, so you can do whatever you want (talking about
checking), certainly CPAN.pm cannot install non Perl modules..
> I also notice that not all modules will auto install dependent modules,
> i.e. Apache::ASP. But most will. I suppose this is all documented some
> where, but since I don't have anything on CPAN currently I haven't
> really looked.
>
> Did I miss understand the comments inside of the other thread?
>
> Aaron Johnson
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]