Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Removal of duplicated element in array.

by Laurent_R (Prior)
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;


Comment on Re: Removal of duplicated element in array.
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2015-07-02 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (45 votes), past polls