shan_emails has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I am new to perl and I have the below task
1) read the config from oracle10g DataBase table (each config has a one process file)
2) get the files for processing
3) logs the processing comments in a log file
This config has the total of 2500.
So after reading from Database and get the files so totally we have 2500 files, now split it to 5 parts and then process this 5 parts at simultaneously. And keep logs of all 5 threads in a single log file.
kindly give some sample code for this threading in perl.
I am using HP-UX in Unix Operating System.
Thanks,
Shanmugam A.
I am new to perl and I have the below task
1) read the config from oracle10g DataBase table (each config has a one process file)
2) get the files for processing
3) logs the processing comments in a log file
This config has the total of 2500.
So after reading from Database and get the files so totally we have 2500 files, now split it to 5 parts and then process this 5 parts at simultaneously. And keep logs of all 5 threads in a single log file.
kindly give some sample code for this threading in perl.
I am using HP-UX in Unix Operating System.
Thanks,
Shanmugam A.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Multi Threading in perl sample code
by Corion (Patriarch) on Nov 05, 2012 at 08:25 UTC | |
Re: Multi Threading in perl sample code
by Anonymous Monk on Nov 05, 2012 at 08:37 UTC | |
Re: Multi Threading in perl sample code
by BrowserUk (Patriarch) on Nov 05, 2012 at 13:45 UTC | |
Re: Multi Threading in perl sample code
by sundialsvc4 (Abbot) on Nov 05, 2012 at 15:20 UTC | |
Re: Multi Threading in perl sample code
by Anonymous Monk on Nov 05, 2012 at 13:22 UTC |
Back to
Seekers of Perl Wisdom