Small code cleanup in rlm_perl config parser

Less repetitive code