in reply to Count Using Split

As Bloodnok says, you've mistyped a variable name. I'd add that this error would have been caught immediately if you'd used strict. It's also a good idea to use warnings.

Replies are listed 'Best First'.
Re^2: Count Using Split
by de2425 (Sexton) on Sep 17, 2008 at 19:23 UTC

    Actually, I didn't paste all of my code. I just pasted the main part. I'm sorry if this caused any confusion.