Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: to select unique characters

by mickeyn (Priest)
on Feb 13, 2008 at 07:26 UTC ( #667736=note: print w/ replies, xml ) Need Help??


in reply to to select unique characters

A little shorter syntax:

my %seen = map {$_ => undef} @proc_name1; my @uniq = keys %seen;
Enjoy,
Mickey


Comment on Re: to select unique characters
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-07-08 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls