perl plugin: Export plugin_get_interval() to Perl plugins.