Added rap support to perl.