in reply to Re^2: Control Structure problem, mistake can't be found
in thread Control Structure problem, mistake can't be found

AAHHH, I see said the blind man! Thank you so much! lol, I really had a sneaky suspicion that is was a trivial problem, but I just couldn't find it. By the way, I can't use warnings at the moment, I'm on windows, and coding in editpad with the Perl interpreter, and my version is 5.0, so it doesn't pick it up :\

Anyways, thank you all so much for replying and helping me over that hump :)

  • Comment on Re^3: Control Structure problem, mistake can't be found

Replies are listed 'Best First'.
Re^4: Control Structure problem, mistake can't be found
by parv (Parson) on Aug 23, 2008 at 04:34 UTC
    If you mean use warnings; by itself causes problems (as in warnings pragma unknown to perl interpreter), then invoke the program with -w flag (perl -w program-file). Failing that, set $WARNING to a true value ($WARNING = 1;).
      no English, no $WARNING, use $^W