Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^7: Looking for pointers or optimizations.

by choroba (Chancellor)
on Aug 21, 2012 at 19:58 UTC ( #988839=note: print w/replies, xml ) Need Help??


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

you could read a file directly in a scalar variable.
my $words = <$fh>;
Not true. Have you tried it? In fact, you can, but in a different way.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ