Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: code explanation

by Utilitarian (Vicar)
on Aug 04, 2011 at 10:49 UTC ( [id://918496]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MData::Dumper -e '
    my @AoA=(
    ...
    ["eight", "seven", "nine"]);
    my @r = grep{++$uniq{ join $; , sort @$_ } == 1 } @AoA; 
    print "\@r is now:\n", Dumper(\@r), "\%uniq is now:\n",Dumper(\%uniq)'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-24 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found