Added ModernPerl syntax and removed unused import

The default Perl syntax is pretty awful.