On Feb 20, 2015, at 11:46 PM, HAKNER J <hak@cooper.edu> wrote:
The documentation for rlm_perl is a little light.
As always, patches are welcome.
If the desire is to deprecate the Check list, Perl's glob wildcarding mechanism can be used to equate the two. Such as Perl code *RAD_CHECK=*RAD_CONFIG. It has been a long time since I did Perl/C interface code, but there should be an easy way to do this from C in rlm_perl.c that links the two so they are the same actual hash.
Sure. Send a patch.
So to summarize: the variable RAD_CHECK is read/write, but when one writes to it from inside the Perl code, the effect is actually to modify/set name-value pairs in the CONFIG list?
There is only one list: the unlang “control” list. That gets mapped to RAD_CHECK and RAD_CONFIG for backwards compatibility. Alan DeKok.