--- Forwarded mail from [EMAIL PROTECTED]

Date: Wed, 20 Sep 2000 13:10:26 +1000 (EST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: BOUNCE [EMAIL PROTECTED]:    Non-member submission from ["Dialup
USA Sales" <[EMAIL PROTECTED]>]

>From mikem  Wed Sep 20 13:10:18 2000
Received: by oscar.open.com.au (8.9.0/8.9.0) id NAA23989
        for [EMAIL PROTECTED]; Wed, 20 Sep 2000 13:10:18 +1000 (EST)
>Received: from server3.safepages.com (server3.safepages.com [216.127.146.5])
by perki.connect.com.au with ESMTP id NAA07446
  (8.8.8/IDA-1.7 for <[EMAIL PROTECTED]>); Wed, 20 Sep 2000 13:47:55 +1100
(EST)
Received: from server3.safepages.com (server3.safepages.com [216.127.146.5]) by
perki.connect.com.au with ESMTP id NAA07446
  (8.8.8/IDA-1.7 for <[EMAIL PROTECTED]>); Wed, 20 Sep 2000 13:47:55 +1100
(EST)
Received: from PRIMARY (010-008.dsl.popsite.net [64.24.10.8])
        by server3.safepages.com (Postfix) with SMTP id 2895322FA9
        for <[EMAIL PROTECTED]>; Tue, 19 Sep 2000 22:47:48 -0400 (EDT)
Message-ID: <065c01c022ad$71703700$02fea8c0@PRIMARY>
From: "Dialup USA Sales" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: saving a global variable.
Date: Tue, 19 Sep 2000 19:49:41 -0700
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Type: text/plain;
        charset="iso-8859-1"

How do you save a variable global in a StartupHook so that
you can reference it in a PreHandlerHook.

Here is a simple example:

StartupHook  sub {\
    $variable = 1;\
}

<Client xxx.xxx.xxx.xxx>
PreHandlerHook sub {\
     if ($variable = 1) { do something }\
}
</Client>

Problem is, that whenever I try to reference the $variable in the
PreHandlerHook it does not remember it from the
startup hook.   Any ideas?




---End of forwarded mail from [EMAIL PROTECTED]

-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to