Requirements
- I have a very large CSV file to read. (about 3 GB)
- I won’t need all records, I mean, there are some conditionals that we can use, for example, if the 3rd CSV column content has ‘XXXX’ and 4th column has ‘999’.
Question:
Can I use these conditionals to improve the read process? If so, how can I do that using Perl?
I need an example (Perl Script) in your answer.
Here’s a solution: