Validate script with TM_PERL (when set)

You can set TM_PERL in Preferences → Variables or ~/.tm_properties.