CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
count of repeated word in array


New User

Jun 12, 2008, 6:54 AM

Post #1 of 2 (3086 views)
count of repeated word in array Can't Post

i have to write program to count of repeated word in array

for example we put this array : @word= qw( toyota benz benz bmw toyota benz);

and program output like this :

benz 3 reapeated
toyota 2 repeated
bmw 1 repeated

Thank u so much


Jun 12, 2008, 11:24 AM

Post #2 of 2 (3077 views)
Re: [digilas] count of repeated word in array [In reply to] Can't Post

A search of the internet would find the answer to this question. The FAQs section of this website probably has an example and perls FAQs does also.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives