From 0fb583f0dc54421d6e524bed573850348de81957 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 26 Aug 2010 12:54:55 +0200 Subject: [PATCH] Updated documentation --- raddb/modules/perl | 6 +++--- src/modules/rlm_perl/example.pl | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/raddb/modules/perl b/raddb/modules/perl index d961b11..69ad307 100644 --- a/raddb/modules/perl +++ b/raddb/modules/perl @@ -17,9 +17,9 @@ perl { # The following hashes are given to the module and # filled with value-pairs (Attribute names and values) # - # %RAD_CHECK Read-only Check items - # %RAD_REQUEST Read-only Attributes from the request - # %RAD_REPLY Read-write Attributes for the reply + # %RAD_CHECK Check items + # %RAD_REQUEST Attributes from the request + # %RAD_REPLY Attributes for the reply # # The return codes from functions in the perl_script # are passed directly back to the server. These diff --git a/src/modules/rlm_perl/example.pl b/src/modules/rlm_perl/example.pl index e5f584b..7395ece 100644 --- a/src/modules/rlm_perl/example.pl +++ b/src/modules/rlm_perl/example.pl @@ -22,6 +22,9 @@ # # You can use every module that comes with your perl distribution! # +# If you are using DBI and do some queries to DB, please be sure to +# use the CLONE function to initialize the DBI connection to DB. +# use strict; # use ... -- 2.1.4