Small code cleanup in rlm_perl config parser

Less repetitive code
Merge pull request #761 from qnet-herwin/rlm_perl_config_code_cleanup

Small code cleanup in rlm_perl config parser