http://www.perlmonks.org?node_id=470967


in reply to Need to increase the processing speed?

the first thing is u need to decrease the processing time not increase

opening a file as big as 2 mb can take time so
you can split the files and get them into an array and then pass this array to ur text processing code
hope that helps