perldoc -q count
In reply to Re: How to check if a file has more than one line? by toolic in thread How to check if a file has more than one line? by bobo33+