4 unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML).
5 push @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version.
8 use SL::InstallationCheck;
12 foreach my $module (@SL::InstallationCheck::required_modules) {
13 print("Looking for $module->{name}...");
14 if (!SL::InstallationCheck::module_available($module->{"name"})) {
15 print(" NOT found\n" .
16 " The module '$module->{name}' is not available on your system.\n" .
17 " Please install it with the CPAN shell, e.g.\n" .
18 " perl -MCPAN -e \"install $module->{name}\"\n" .
19 " or download it from this URL and install it manually:\n" .
20 " $module->{url}\n\n");
26 foreach my $module (@SL::InstallationCheck::optional_modules) {
27 print("Looking for $module->{name} (optional)...");
28 if (!SL::InstallationCheck::module_available($module->{"name"})) {
29 print(" NOT found\n" .
30 " The module '$module->{name}' is not available on your system.\n" .
31 " While it is not strictly needed it provides extra functionality\n" .
32 " and should be installed.\n" .
33 " You can install it with the CPAN shell, e.g.\n" .
34 " perl -MCPAN -e \"install $module->{name}\"\n" .
35 " or download it from this URL and install it manually:\n" .
36 " $module->{url}\n\n");