in reply to Strange finish!!

Perl requires that statements be separated. Statements do not require termination; they only require separation from following statements, either though a semicolon, or the end of the block.

No following statement, no need for a separator.