in reply to read()
another way to read in "chunks" is to set $/ = \number and then read from the filehandle as you would normally, e.g.
open FILE, $path; $/ = \1024; print while <FILE>;
larryk perl -le "s,,reverse killer,e,y,rifle,lycra,,print"
In Section
Tutorials