Add Perl specs for API specs, for issue #4 [ci skip]