in reply to Looping through an Array
It is because you're not using strict/warnings
Read this if you want to cut your development time in half!
$arrref and @arrref are two different variables, strict/warnings would have told you about it, Tutorials: Basic debugging checklist , brian's Guide to Solving Any Perl Problem
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (543 votes). Check out past polls.