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


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

Thanks...that was my problem I had "While" when I should of had "while". Appreciate it. It works now!

  • Comment on Re^2: Help Perl Program - I have compilation errors don't know where

Replies are listed 'Best First'.
Re^3: Help Perl Program - I have compilation errors don't know where
by wwe (Friar) on May 25, 2010 at 08:23 UTC
    If you are using Perl 5.10 maybe you want to rewrite your code to use a switch statement given/when for a better readability. It also helps you to extend the number of tests without adding more and more if statements. See: Switch-statements