When following the manual, when I start cf-sketch.pl it generates a compilation failure:
Type of arg 1 to keys must be hash (not private variable) at /root/source/design-center/tools/cf-sketch/perl-lib/DCAPI/Validation.pm line 318, near "$strictMatch;"
Type of arg 1 to values must be hash (not subroutine entry) at /root/source/design-center/tools/cf-sketch/perl-lib/DCAPI/Validation.pm line 347, near ");"
Type of arg 1 to values must be hash (not subroutine entry) at /root/source/design-center/tools/cf-sketch/perl-lib/DCAPI/Validation.pm line 378, near ");"
Compilation failed in require at /root/source/design-center/tools/cf-sketch/perl-lib/DCAPI.pm line 14.
BEGIN failed--compilation aborted at /root/source/design-center/tools/cf-sketch/perl-lib/DCAPI.pm line 14.
Compilation failed in require at ./cf-sketch.pl line 43.
BEGIN failed--compilation aborted at ./cf-sketch.pl line 43.
with a checkout of ee3bf98ae11d8735b39ff7d767cfc6a13c5c570f, checking tools/cf-sketch/perl-lib/DCAPI/Validation.pm it seems that commit 8b3882ed14efed7598f6a82d67a8046cd0b553d5 introduced these lines and that version, unsurprisingly, also generates the same error. Checking out the parent (3a220879e7105c70c8f4f8879d75637395d0f82b), resolves the error for me.
When following the manual, when I start
cf-sketch.pl
it generates a compilation failure:with a checkout of ee3bf98ae11d8735b39ff7d767cfc6a13c5c570f, checking
tools/cf-sketch/perl-lib/DCAPI/Validation.pm
it seems that commit 8b3882ed14efed7598f6a82d67a8046cd0b553d5 introduced these lines and that version, unsurprisingly, also generates the same error. Checking out the parent (3a220879e7105c70c8f4f8879d75637395d0f82b), resolves the error for me.Perl version: 5.10.1 OS: CentOS 6.4