in reply to Most efficient way to load file contents into scalar?
my $size = -s FILE; my $giant = ' ' x $size; print "Read ", read(FILE,$giant,$size,0)," of $size bytes"; [download]