Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Removal of duplicated element in array.

by Laurent_R (Abbot)
on May 06, 2013 at 18:44 UTC ( #1032370=note: print w/replies, xml ) Need Help??

in reply to Removal of duplicated element in array.

As I already told you on another forum, the problem is most probably in the split. Try this instead:

my @match_to_array = split /\n/, $match;

Replies are listed 'Best First'.
Re^2: Removal of duplicated element in array.
by tty1x (Novice) on May 07, 2013 at 02:13 UTC
    I tried what you mentioned, it still didn't work.

    I also tried totally eliminating the split operator altogether, and directly assign the $match to the @match_to_array , it didn't work too.

Log In?

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

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

    Results (300 votes). Check out past polls.