Don't ask to ask, just ask | |
PerlMonks |
Re^2: Multithreading a large file split to multiple filesby Anonymous Monk |
on May 16, 2018 at 18:11 UTC ( [id://1214676]=note: print w/replies, xml ) | Need Help?? |
One more possible optimization: when you want to check for the presence of constant strings (e.g. Index, USDSWAP) in the input, you can use if (index($_, 'USDSWAP') != -1) { ... } instead of a regex.
In Section
Seekers of Perl Wisdom
|
|