Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Removal of duplicated element in array.

by Laurent_R (Parson)
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-09-15 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (146 votes), past polls