Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Removal of duplicated element in array.

by 2teez (Priest)
on May 06, 2013 at 14:36 UTC ( #1032308=note: print w/replies, xml ) Need Help??

in reply to Re: Removal of duplicated element in array.
in thread Removal of duplicated element in array.

Hi Rahul6990 ,
this line :my @match_to_array = (a,b,c,a,d,c,b,r); #Oops
should either be
my @match_to_array = ('a','b','c','a','d','c','b','r');
my @match_to_array = qw(a b c a d c b r);

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032308]
Lady_Aleena listens to the imaginary crickets.
[Lady_Aleena]: By the way, I'm bored out of my skull at the moment. And it just had to be Friday didn't it?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-01-21 02:40 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (180 votes). Check out past polls.