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

Just a couple of small points that may help:

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Help Perl Program - I have compilation errors don't know where
by tangieb01 (Novice) on May 19, 2010 at 21:55 UTC

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

      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