Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Find most frequently used word in text file.

by Laurent_R (Prior)
on Dec 20, 2013 at 18:16 UTC ( #1067972=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Find most frequently used word in text file.
in thread Find most frequently used word in text file.

Yes, I used undef $/; because I wanted to slurp the file into a scalar variable (making the subsequent processing slightly simpler). But it would not be necessary to undef $/ in a list context.


Comment on Re^4: Find most frequently used word in text file.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-07-06 06:56 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 (70 votes), past polls