Reputation:
I am using this grep statement in PERL to find non-duplicated names. Can anyone tell me how to make it case-insensitive? I know I need to use an 'i', but I'm not sure where it goes. Thanks!
@nondup = grep {$marked{$_}++; $marked{$_} = 1;} @names
Upvotes: 0
Views: 484