Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^8: Looking for pointers or optimizations.

by SerZKO (Beadle)
on Aug 22, 2012 at 06:16 UTC ( #988960=note: print w/ replies, xml ) Need Help??


in reply to Re^7: Looking for pointers or optimizations.
in thread Looking for pointers or optimizations.

++ for pointing out this Chromatic.

But if you just add undef $/; before reading file, then you get it all in a scalar variable

undef $/; my $words = <$fh>;


Comment on Re^8: Looking for pointers or optimizations.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-10-26 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (153 votes), past polls