Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
"be consistent"
 
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


Comment on Re: Comparing 2 arrays but ignoring certain patterns
Download Code
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 having an uproarious good time at the Monastery: (8)
As of 2014-04-20 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls