Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Removal of duplicated element in array.

by Laurent_R (Priest)
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 studying the Monastery: (15)
As of 2014-04-16 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (434 votes), past polls