in reply to Re^2: How to grep exact string
in thread How to grep exact string
I believe the way you have it is a correct way to do it (see grep):
An alternate syntax is:grep ( /^$unique$/, @first_list_new )
grep { /^$unique$/ } @first_list_new
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How to grep exact string
by tobyink (Canon) on Nov 15, 2012 at 08:38 UTC | |
by frozenwithjoy (Priest) on Nov 15, 2012 at 08:43 UTC | |
by ColonelPanic (Friar) on Nov 15, 2012 at 08:59 UTC | |
by frozenwithjoy (Priest) on Nov 15, 2012 at 09:03 UTC |
In Section
Seekers of Perl Wisdom