http://www.perlmonks.org?node_id=840811


in reply to Re^2: Help Perl Program - I have compilation errors don't know where
in thread Help Perl Program - I have compilation errors don't know where

Perl does not output error messages like "second from the bottom line". If you want to provide us with more information, please post the verbatim output that perl produces, not some vague reinterpretation. Perl error messages contain the line number(s) of the offending line(s), and the first line mentioned, and those preceeding it are the likely culprits of causing the first erro. Also, there is no While keyword in Perl. Maybe you want to read perlsyn and some book about starting out with Perl?