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

Re^2: Removal of duplicated element in array.

by 2teez (Vicar)
on May 06, 2013 at 14:36 UTC ( [id://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');
OR
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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found