in reply to Get only 1KB from text File

The "classic" way:

my $numread= read(FILE, $_, 1024);


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e