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.
In reply to How to create a reusable routine ? by bar10der
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |