Hi All!

OSC wrote a great customized auth module for us using a C library API for an
encryption algorithm.
It is very fast.

In fact, it was so fast, we decided to try and port our encryption algorithm
to perl and write our own customized auth module.

It functions, but is about 3x slower, and I hacked my way through some perl
confusion.

That is, I simply took AuthSBTEST and modified handle_request. I did not
change anything else.

Not having worked with perl modules before, I got rid of alot of errors by
sticking all of our subroutines inside handle_request
and changing "local($x)" to "my $x".

I didn't even know nested subs were supported by perl :) Are they?

I initialize some global variables in handle_request. How do I add these to
"new" so they are visible to handle_request?

What is the "my" keyword, and what happens to "local($x)" in an Auth module?

How does one normally add their own private subroutines to a module?


Thanks for any help for a newbie...

-- Brian Keefe







===
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