Is there a simple Perl command for counting the number of lines in a document? I can't seem to find one. If there isn't, can someone give me a quick routine? I'm new to this, and I'm not sure how it would be done (I suspect one would search for the number of instances of the "return" character in the document). rob --------------------------------------------------- This message was created and sent using the Cyberdog Mail System ---------------------------------------------------