Use 0 read size at eof instead of size or eof.
Cosmetic changes for Perl::Critic.