Hello,

Is it possible to use global variables that are defined in the
radius.cfg file within a PreClientHook that resides in another file? I
would like to have a global variable %{DbHost} that is the database
server hostname. In my PreClientHook I need to contact that server for
some information. Can I have the following:

#!/usr/local/bin/perl

sub {
    my $server = %{GlobalVar:DbHost};
    ...
    contact database and retrieve stuff
    ....
}

I've scoured the manual for this, but if you know where it is, please
tell me.

Griff Hamlin, III

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to