Hi,


What I have to do is:



1- Read Line from an input file

2- Validate the raw (for example: is second char == 2?)

3- Split the line

4- Write the validated and splitted raw in an output file whit a different

   order (for example: last 2 digits I have to write as first 2 digits)



I have to loop it for 15 MILLION line!!!!



How long does perl takes?



The program I written takes 25 sec for 10.000 line... too much....



Do you have suggestion?

I have to think in parallel way? (fork ?!?!)



Thanks

Lorenzo

Reply via email to