Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Frequency occurence of same words in a file

by geek12 (Novice)
on Mar 24, 2022 at 22:52 UTC ( [id://11142395]=note: print w/replies, xml ) Need Help??


in reply to Re: Frequency occurence of same words in a file
in thread Frequency occurence of same words in a file

Hi, This is not giving the output as I want. Output I want is like below:
0011 ------> 2 Sally Roy 1122 ------> 2 Brandon Simson 2233 -------->2 George

Replies are listed 'Best First'.
Re^3: Frequency occurence of same words in a file
by geek12 (Novice) on Mar 24, 2022 at 22:56 UTC
    Sorry, I tried printing just the below:
    print "@{$count{$key}}\n";
    and it gives what I am looking for. thank you for your help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found