Yes, this is due to the way rlm_perl works by default (new pairs can be added but existing ones not changed). Look back a week or so in the mailing list archives to the problem I was having. There is a patch on the list that will allegedly make it into HEAD. The patch works nicely for me.

Alex


On 22/08/06, Justin Church <jcc@unc.edu> wrote:
I'm running freeradius v. 1.1.0 and am trying to use rlm_perl to rewrite
accounting attributes before they are written to log with detail and
then replicated with radrelay.  Here is the version of example.pl that
I'm using (I've only added a single statement to the preacct function):