config section in rlm_perl module

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Apr 21 13:04:54 CEST 2015


> On 21 Apr 2015, at 11:11, Peter Balsianok <balsianok.peter at gmail.com> wrote:
> 
> Hi,
> 
> You are not right. %RAD_PERLCONF is available also during 'Instantiation'.

Yeah, but that's still calling a perl subroutine, just without a request pointer.

> The question is: Would it be available also during compilation phase (like
> radiusd::radlog)

For that to work you'd need to get it into the perl environment as a global, before parsing the perl file. It'd also have to be made constant to prevent people from doing stupid things.

I'll take a look at it and see if it's doable.

I just... feel so dirty after looking at perl... or the embedding API... or the documentation for the embedding API. It's like digging in to a big bowl of chocolate pudding, to discover it's actually dog shit.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150421/60cb8ed9/attachment.sig>


More information about the Freeradius-Users mailing list