Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Combining Duplicate entries in an Array

by mmartin (Monk)
on Feb 22, 2012 at 20:13 UTC ( #955610=note: print w/replies, xml ) Need Help??

in reply to Re: Combining Duplicate entries in an Array
in thread Combining Duplicate entries in an Array

Hey Eliya, thanks for your reply.

Oooohh that's it... I don't know why but for some reason "push" didn't come to me as I was doing this. Maybe I shoulda got more sleep last night haha... And the "." in a pattern match I did have a line in my script on one of my many many many different attempts that did a regex search and replace, that looked for "." and replaced it with "\." but got a strange result I think. But oh well seems to be working correctly with BrowserUk's example.

Great, well thanks for the clarification, I really appreciate it!

Thanks Again,

  • Comment on Re^2: Combining Duplicate entries in an Array

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-10-25 10:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (316 votes). Check out past polls.