Small OOP program in perl
Posted on 2004-08-24
I need a small example to store userid and password in a flat file.
I would like to do as...
I would like to create a module, in that i have two functions.
1. for creating user id
2. for creating password
for creating userid, i will pass two inputs (ie, unique_number, userid)
for creaing password, i will pass two inputs(ie, unique_number,password).
userid function will store the unique number and userid in a flat file.
password function will store the password in the flat file .
In my main program i am passing these values to module.
Can you please help me to write a sample program for that?
Thanks and Regards,