Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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

by Laurent_R (Canon)
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067972]
[stonecolddevin]: good afternoon all
[LanX]: a reality strikes ... need to buy food
[marto]: stonecolddevin: hey there
[stonecolddevin]: ,arto o/
[stonecolddevin]: dammit
[stonecolddevin]: marto o/
LanX beta matrix
[marto]: The child still awake just made me aware of 'Lego Sonic', the sonic game rebuilt in a Lego game engine...
[marto]: What a world
[oiskuu]: Ahem. Speaking of toxic injections.. Is there a simple way to inject into package a sub{} so that it captures a $variable that is declared package my?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-12-15 19:34 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (442 votes). Check out past polls.