fix: do not error out on missing Perl modules until actually necessary
Previously kdesrc-build would error out even before commandline options parsing if certain Perl modules are missing. This behaviour is both confusing, unhelpful and incorrect depending on the situation because kdesrc-build would never get to the commandline options parsing stage:
- For invalid commandline options, kdesrc-build would show an 'unexpected' error message instead of pointing out the invalid commandline option
- For simple options like --help and --version an unexpected error would appear, even though those options could still work
Issues: #56 (closed)
Edited by Johan Ouwerkerk