[Core] Fix perl syntax (fixes #6).

To fix the plugin with last version of perl.