Your loop would be more idiomatic written as
foreach my $line ( @lines ) { if ( my ( $pp, $pp1 ) = $line =~ /(.*?)\s+(\S+)/ ) { ... } }
And yes, you are on the right track
In reply to Re: Locate Unique values
by hipowls
in thread Locate Unique column from a given set of column
by Abhisek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |