in reply to Re^4: warnings and strict -- The 2 Best Ways You Can Improve Your Programming
in thread warnings and strict -- The 2 Best Ways You Can Improve Your Programming

There's no prototype in:
sub ration_change;
That's a (forward) declaration. If you use a prototype, both the declaration, and the definition of the subroutine should have prototypes, and the prototypes should be identical.
Perl --((8:>*
  • Comment on Re^5: warnings and strict -- The 2 Best Ways You Can Improve Your Programming
  • Download Code

Replies are listed 'Best First'.
Re^6: warnings and strict -- The 2 Best Ways You Can Improve Your Programming
by liverpole (Monsignor) on Oct 05, 2005 at 14:27 UTC
    You're right ... I stand corrected. ;-)