[Catalyst] Requiring a certain module version in Makefile.PL

Florian Ragwitz rafl at debian.org
Sun Feb 21 18:07:18 GMT 2010


On Sun, Feb 21, 2010 at 07:54:26PM +0200, Octavian Rasnita wrote:
> In Makefile.PL I have the following line:
>
> requires 'DBIx::Class::Schema::Loader' => '0.05003';
>
> When I do
> perl Makefile.PL
>
> shouldn't that line require and install this version of
> DBIx::Class::Schema::Loder?
>
> I have a 0.04... version, but after `perl Makefile.PL` the new version was
> not installed and it happened the same with other modules.

You're confusing requires() with auto_install(). If you want stuff being
installed instead of just reported, you'll need the latter.


-- 
BOFH excuse #239:
CPU needs bearings repacked
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100221/586e7699/attachment.pgp


More information about the Catalyst mailing list