looping

2008-06-30 Thread dakin999
Hi, I am writting a perl script which: 1. Calls oracle database and produce the desired results While I am reading each row data that is fetched by select query from oracle databae, I need to read some other values from a text file. This is where I am having issues. Can some one help me in forma

Writing output to a file

2008-06-19 Thread dakin999
Hi, I am trying to write the script myself and now stuck at some thiong that I am pretty sure have been done by others. Any help will be significant. Ok, I have created an array and now I want to read from this array the elements and put them in a LDIF format. Something like this: dn: uid=xxx,cn=

problem with printing

2008-06-19 Thread dakin999
Hi, I have following code which works ok. It does following: 1. reads data from a input file 2. puts the data into seperate variables in a array 3. reads from this array and prints out to another file It works except that it prints the same record 4 times. I can see I have missed some thing in m

Perl Script

2008-06-17 Thread dakin999
I am looking for any generic perl code that is doing some thing like following. Any code help will be really helpful. 1. Reads from a database(oracle) following columns: Customer_No, Fname, Lname, Password. 2. Encrypts the password in SHA1_Base64 format. 3. Use the perl-ldap add object to crea