|go ahead... be a heretic|
I need some help regarding Perl multi threading.
Can I have the following functionality using multi threads in Perl?
1. Main script calls a sub routine My_1st(), where My_list() requires two or more parameters.
2. My_list calls other sub routine My_1st_inside(), where this My_1st_inside() requires two or more parameters to it and returns a value to My_1st parent sub routine.
3. My_1st() gets the values returned by My_1st_inside() and prints some results.
I am able to achieve this without threads and its working fine except that it is taking much time in a foreach loop. So, I would like to add threads to this.
I tried this but resulting with errors. Is this something that can be achievable using Perl threads?
Any help is appreciated!!