![]() |
Delete Mulitiple lines from a file
Hey Guys,
How do I delete multiple lines with different values in an array. Here is code below I have which works for 1 match in array if I define it but can't get it work with multiple values in an array. Foreach my $username (@remove_users) complains about match when I try wrapping it around foreach my $line (@file_lines). Thanks for your help. Code:
@remove_users; |
Hello begood321,
Sorry for not replying to your question earlier. Do you still need help with this issue? If so, please post some sample lines of your file and point out which ones need to be removed. |
| All times are GMT +1. The time now is 02:59 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.