in reply to PineTOC

Pretty good code, from just a quick peek, but even though you are declaring your variables, you aren't checking up on yourself with the warnings and strict pragmas.

Please use them. Even experienced Perl programmers use them.

"-w" (or "use warnings") and "use strict" are your friends.

cut-n-paste the following code and run it as your punishment.

#!/usr/bin/perl -w use strict; my $i; for($i = 0; $i < 100; $i++) { print "I will use strict and warnings.\n"; };
J. J. Horner
Linux, Perl, Apache, Stronghold, Unix

Replies are listed 'Best First'.
RE: (jjhorner)PineTOC
by Tally (Novice) on Aug 01, 2000 at 18:04 UTC
    Thanks for your input!
    I updated my code, and ran my penance program like a good monk. =)