Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032370]
help
Chatterbox?
[Discipulus]: silly one: can i dump all CORE functions?
[Corion]: Hmm - print for keys %CORE:: maybe?
[Corion]: Hm - nope, that only gives me GLOBAL:: as entry. Maybe you can't ...
[Discipulus]: just got GLOBAL::

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-05-23 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?