Re: make/deploy tool for perl scripts
by hardburn (Abbot) on Jul 13, 2004 at 18:19 UTC
|
Module::Build is getting popular. I don't like the authors' antaganisitc views on the older ExtUtils::MakeMaker, but they do have a good module.
----
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.
| [reply] [Watch: Dir/Any] |
|
I personally don't like Module::Build's complete disregarding of well-established items like PREFIX and such. Especially when it recognises that it's been passed those items. It's incredibly arrogant, IMO.
(update: fix a minor grammar issue)
| [reply] [Watch: Dir/Any] |
|
Um, not implementing something is not arrogant. Have you ever looked at the code in EU::MM that makes PREFIX do its thing? Would you care to re-implement that?
| [reply] [Watch: Dir/Any] |
|
I personally don't like Module::Build's complete disregarding of well-established items like PREFIX and such. Especially when it recognises that it's been passed those items. It's incredibly arrogant
No it's not.
The whole point of Module::Build is to re-think how module installation works. The EU:MM PREFIX logic is very complicated. The M::B install_base logic is far simpler and works in more places.
If you want M::B to do exactly the same as EU:MM why bother?
| [reply] [Watch: Dir/Any] |
|
|
| [reply] [Watch: Dir/Any] |
Re: make/deploy tool for perl scripts
by ysth (Canon) on Jul 13, 2004 at 19:21 UTC
|
There's also Module::Install.
Definitely do try to use one of those three, though; not something homebrewed. | [reply] [Watch: Dir/Any] |
Re: make/deploy tool for perl scripts
by Zaxo (Archbishop) on Jul 13, 2004 at 18:36 UTC
|
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] |
Re: make/deploy tool for perl scripts
by tomhukins (Curate) on Jul 13, 2004 at 22:30 UTC
|
You might find the slides for Mark Fowler's talk on Creating CPAN Distributions helpful. His comments apply to any large Perl code base, whether on CPAN or not. | [reply] [Watch: Dir/Any] |
Re: make/deploy tool for perl scripts
by zakzebrowski (Curate) on Jul 14, 2004 at 12:00 UTC
|
I don't see why you can't use Ant in a perl environment... I actually think it would be worth it to write some ant extentions for perl, since it does handle a lot of build type problems elegently, especially when you need to deploy something enterprise wise... /me ducks.
| [reply] [Watch: Dir/Any] |
|
Actually I did use Ant for doing some perl stuff since I need to work with java for other projects, but Ant has its own problems (e.g., most declaritive using xml, can't really program it, for example, doing some conditional or looping is pretty hard, or too verbose to be elegant). I'm looking for something that go beyond simple copy/move, for example, easy cvs, tar/zip integration, global replace, target dependencies, etc., basically something that does what Ant does but also allows scripting. (I think the Ant community was/is considering adding some scripting capabilities, say via jython.)
Thanks again for all the inputs.
| [reply] [Watch: Dir/Any] |
|
When you work with a tool like Perl that can do anything it can be difficult to step down to a more focused tool like Ant.
If you reimpliment Ant in Perl, I suggest you call it Pants :-) No one likes it when you bring Ants to the party, but you can't come to the party without Pants.
Or something like that.
| [reply] [Watch: Dir/Any] |
|
|
| [reply] [Watch: Dir/Any] |