Dear all,
I am a newbie to perl. I want to read file line by line in two sets i.e., odds and even. Means it should first read first line and second line then check for regular expression in second line with condition to print or not then move forward for 3 and 4 line then to 5 and 6 line and so forth.
the file contains millions of line so array is taking too much time and memory. I am a very newbie to perl so unable to find solution for this.
Any help will be appreciated.
Regards,
Saha