kde-projects: Fix runtime check for YAML modules.

Authored by mpyne on Dec 22 2017, 8:14 PM.

Description

kde-projects: Fix runtime check for YAML modules.

My attempt to make the KDEProjectReader's check for YAML be a runtime check was
thwarted because I had separately used a "use KDEProjectReader" elsewhere,
which Perl ensures happens at compile time.

Instead make the check part of the constructor so that the package can at least
compile without throwing an error.

Details

Committed
mpyneDec 22 2017, 8:35 PM
Parents
R365:62b5614f9bd3: Standardize how we define is-a relationships.
Branches
Unknown
Tags
Unknown