in reply to
Re^3: Matching Regular expression at EOF
in thread
Matching Regular expression at EOF
That will erroneously claim the file is empty if the last occurrence of the pattern in on the second-last line (for example).
Comment on
Re^4: Matching Regular expression at EOF
In Section
Seekers of Perl Wisdom