Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: to pick the common element in the array

by Anonymous Monk
on Mar 13, 2009 at 12:48 UTC ( [id://750388]=note: print w/replies, xml ) Need Help??


in reply to Re: to pick the common element in the array
in thread to pick the common element in the array

I am new to perl can u explain the above code... Thanks
  • Comment on Re^2: to pick the common element in the array

Replies are listed 'Best First'.
Re^3: to pick the common element in the array
by zentara (Cardinal) on Mar 13, 2009 at 19:16 UTC
    I'm new to being a free tutor, get a tutorial on arrays and hashes. :-) Seriously, it is some advanced code work ( which by the way, I did not write....it's been passed around in books and tutorials for a long time. The general idea is to check all array elements...dump them in a hash for counting, then check the hash keys (an array) for 1's or 0's....(or something along those general lines).

    Probably every programming language has some sort of "array comparison" abilities... google for "perl array comparison", grasshopper, and when you are done reading all 5 million hits....come back and teach me. :-)


    I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2026-01-13 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.