in reply to Re: Remove multiple lines in file if pattern found based on array element, in perl
in thread Remove multiple lines in file if pattern found based on array element, in perl
Thank you for reply. The problem here is that @remove_power_list keeps on changing, for each file. @remove_power_list is generated on the fly in bigger part of code. It may or may not have "vss" as one of its element.
So, I cannot use any fixed string here. I have to iterate through @remove_power_list array.
Hope this makes sense.
|
|---|