bar10der has asked for the wisdom of the Perl Monks concerning the following question:
I want to know how I can create a reusable package/routine. Basically I want to write a user authentication rouitne which I would like to call in various perl scripts. To give an idea, I'd like the authentication package to accept two variables userId and UserPasswd. Authenticate id & password against LDAP (I know how to do this bit) and return success/failure flag.
Any help/guide will be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to create a reusable routine ?
by tinita (Parson) on Apr 02, 2004 at 12:03 UTC | |
|
Re: How to create a reusable routine ?
by bronto (Priest) on Apr 02, 2004 at 12:03 UTC | |
|
Re: How to create a reusable routine ?
by bar10der (Beadle) on Apr 02, 2004 at 13:21 UTC | |
by snowcrash (Friar) on Apr 02, 2004 at 14:06 UTC | |
by bronto (Priest) on Apr 02, 2004 at 13:55 UTC | |
|
Re: How to create a reusable routine ?
by Fletch (Bishop) on Apr 02, 2004 at 13:04 UTC | |
|
Re: How to create a reusable routine ?
by bar10der (Beadle) on Apr 02, 2004 at 15:39 UTC | |
by gmpassos (Priest) on Apr 02, 2004 at 17:39 UTC | |
|
Re: How to create a reusable routine ?
by bar10der (Beadle) on Apr 02, 2004 at 14:26 UTC |