in reply to
Comparing 2 arrays but ignoring certain patterns
@testlist = map { s/:.+//; $_ } @testlist; # Strip everything from the column onward
Comment on
Re: Comparing 2 arrays but ignoring certain patterns
Download
Code
Replies are listed 'Best First'.
Re^2: Comparing 2 arrays but ignoring certain patterns
by
hongping
(Novice)
on Jun 29, 2012 at 03:05 UTC
but i want to have the :25:seed and :50:seed in my outputlist.
[reply]
In Section
Seekers of Perl Wisdom