Perl Script Hash doubt!!

Status
Not open for further replies.

Prashanthanilm

Full Member level 5
Joined
Aug 24, 2012
Messages
302
Helped
36
Reputation
72
Reaction score
36
Trophy points
1,308
Visit site
Activity points
2,950
my %seen;
my @ua = grep { ! $seen{$_}++ } @array1;

Can anyone give me detailed explanation of this above code.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…