Help for this page
while (<FILEHANDLE>) { $_ = substr $_, 0, $maxlength if length > $maxlength; # ... }