Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Comparing 2 arrays but ignoring certain patterns

by muba (Priest)
on Jun 29, 2012 at 02:26 UTC ( #979031=note: print w/ replies, xml ) Need Help??


in reply to Comparing 2 arrays but ignoring certain patterns

@testlist = map { s/:.+//; $_ } @testlist;   # Strip everything from the column onward

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://979031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2016-08-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (360 votes). Check out past polls.