|Perl Monk, Perl Meditation
Re: What Makefiles doby bunnyman (Hermit)
|on Nov 08, 2006 at 20:25 UTC
If I get a CPAN module which only contains one .pl file, why do I need a Makefile along with it? Why wouldn't it be enough just installing the .pl file in a directory, and making sure that directory is in @INC?
I think you mean to say .pm file. You can just copy a .pm to some directory in @INC and it will work. That is what I do because my company doesn't keep Perl modules in a place that Perl knows anything about.
If the module has C code in there, this won't work, but you already said you aren't talking about those modules.