Fix multivalues attributes in rlm_perl. Addresses #731, Addresses #722
Other perl formatting