in reply to Re: grep unique values , remove the blank spaces and store it in a variable
in thread grep unique values , remove the blank spaces and store it in a variable
outputpush(my @array, $lanip) if ! $seen{$lanip}++; #print "@array\n"; my %hash = map { $_, 1 } @array; my @unique = keys %hash; print "@unique\n";
How can I remove them?192.169.30.0 192.169.31.0 192.169.32.0 192.169.72.0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: grep unique values , remove the blank spaces and store it in a variable
by poj (Abbot) on Sep 14, 2015 at 07:44 UTC | |
by brother_m (Initiate) on Sep 15, 2015 at 09:40 UTC | |
|
Re^3: grep unique values , remove the blank spaces and store it in a variable
by Discipulus (Canon) on Sep 14, 2015 at 07:56 UTC |