I got it working. Thanks for the help. I had to add my debugging statement in the authorize sub rather than authenticate sub.

 

> Date: Fri, 30 Sep 2011 09:52:23 +0100
> From: A.L.M.Buxey@lboro.ac.uk
> To: freeradius-users@lists.freeradius.org
> Subject: Re: rlm_perl
>
> hi,
>
> which version of FR?
>
> if its the latest version, then just edit the modules/perl file , ensure that
> the TYPE of perl you want to use is uncommented...eg for authentication, ensure
> that func_authenticate line is uncommented, then add 'perl' into the authenticate
> section of your virtual server
>
> for older versions...creaky old...you need to ensure that the server was compiled
> with experimental-features , you need to ensure that the INCLUDE experimental.conf
> is uncommented in radiusd.conf (and then edit the perl section and the server config
> as before...)
>
> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html