From 2d1086dfd924b46bfdf0ac9fc31ce0be1f07631f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 30 Nov 2011 17:48:57 +0100 Subject: [PATCH] developer module in installation check --- SL/InstallationCheck.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index ef1baba5a..91216a11c 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -3,7 +3,7 @@ package SL::InstallationCheck; use English '-no_match_vars'; use IO::File; -use vars qw(@required_modules @optional_modules); +use vars qw(@required_modules @optional_modules @developer_modules); use strict; @@ -35,8 +35,15 @@ BEGIN { @optional_modules = (); +@developer_modules = ( + { name => "Devel::REPL", url => "http://search.cpan.org/~doy/", debian => 'libdevel-repl-perl' }, + { name => "Moose::Role", url => "http://search.cpan.org/~doy/", debian => 'libmoose-role-perl' }, + { name => "Perl::Tags", url => "http://search.cpan.org/~osfameron/", debian => 'libperl-tags-perl' }, +); + $_->{fullname} = join ' ', grep $_, @$_{qw(name version)} - for @required_modules, @optional_modules; + for @required_modules, @optional_modules, @developer_modules; + } sub module_available { -- 2.20.1