There are a few responses to this post, but what I'd like to see, is a response with the full code body.
Can you do that guys?
I can run the code, even under strict/warnings, but I see sticky things, like the lack of the instantiation variable in the for loop for example. Typically, we don't use C-style for() loops in Perl code unless under duress, or weird circumstances. There are a couple of other smaller things, but I digress.
Anyone willing to post the full code that they have that got this to work, with the actual output from OPs example?