If you are comfortable using the debugger, now would be a good time to fire it up: "perl -d script.pl". If you aren't comfortable, then you might consider this as a good time to get comfortable. (: Otherwise, I suggest you get more data. Data::Dumper is great for this, but you could start with just a:
just above the $total += $cols[3]; line. - tye (but my friends call me "Tye")print "($cols[3]) $_";
In reply to (tye)Re3: BASIC MATH WITH DATA
by tye
in thread BASIC MATH WITH DATA
by joachim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |