[Catalyst] Here's my shot at an app to install Catalyst
Dependencies
Matt S Trout
dbix-class at trout.me.uk
Thu Feb 9 17:28:26 CET 2006
On Thu, Feb 09, 2006 at 08:16:46AM -0700, Nathan Kurz wrote:
> On Thu, Feb 09, 2006 at 01:17:13AM -0800, John Napiorkowski wrote:
> > I know this shell script is a brain dead way to do this, so I am
> > looking for suggestions on how to improve it.
>
> Hey John ---
>
> Seems like a great start. I think there are two ways to go from here.
>
> 1) You could make your shell script into a Perl bundle. Bundles are
> special Perl modules that do nothing other than load other
> modules. Check 'perldoc CPAN' check the section 'Bundles'.
That would be a really dumb idea; Bundles are evil and handled specially
by CPAN.pm - the Task::* stuff is an effort at finally getting rid of
them, hence Task::Catalyst replacing Bundle::Catalyst.
> 2) You could create a modified Makefile.PL or META.yml for
> Task::Catalyst that declares these things as prerequisites. That
> way they'll be loaded automatically by CPAN.
Module::Install has a facility for auto-bundling dependencies.
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list