File: //proc/self/root/proc/self/root/scripts/verify_api_spec_files
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/verify_api_spec_files Copyright(c) 2013 cPanel, Inc.
# All rights Reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
use strict;
use Cpanel::ApiInfo::UAPI ();
use Cpanel::ApiInfo::Api2 ();
for my $api_version (qw( UAPI Api2 )) {
my $info_obj = "Cpanel::ApiInfo::$api_version"->new();
$info_obj->verify();
}